Enum spirv::LoadCacheControl
source · #[repr(u32)]pub enum LoadCacheControl {
UncachedINTEL = 0,
CachedINTEL = 1,
StreamingINTEL = 2,
InvalidateAfterReadINTEL = 3,
ConstCachedINTEL = 4,
}
Expand description
SPIR-V operand kind: LoadCacheControl
Variants§
UncachedINTEL = 0
CachedINTEL = 1
StreamingINTEL = 2
InvalidateAfterReadINTEL = 3
ConstCachedINTEL = 4
Implementations§
Trait Implementations§
source§impl Clone for LoadCacheControl
impl Clone for LoadCacheControl
source§fn clone(&self) -> LoadCacheControl
fn clone(&self) -> LoadCacheControl
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LoadCacheControl
impl Debug for LoadCacheControl
source§impl FromStr for LoadCacheControl
impl FromStr for LoadCacheControl
source§impl Hash for LoadCacheControl
impl Hash for LoadCacheControl
source§impl Ord for LoadCacheControl
impl Ord for LoadCacheControl
source§fn cmp(&self, other: &LoadCacheControl) -> Ordering
fn cmp(&self, other: &LoadCacheControl) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for LoadCacheControl
impl PartialEq for LoadCacheControl
source§fn eq(&self, other: &LoadCacheControl) -> bool
fn eq(&self, other: &LoadCacheControl) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for LoadCacheControl
impl PartialOrd for LoadCacheControl
source§fn partial_cmp(&self, other: &LoadCacheControl) -> Option<Ordering>
fn partial_cmp(&self, other: &LoadCacheControl) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for LoadCacheControl
impl Eq for LoadCacheControl
impl StructuralPartialEq for LoadCacheControl
Auto Trait Implementations§
impl Freeze for LoadCacheControl
impl RefUnwindSafe for LoadCacheControl
impl Send for LoadCacheControl
impl Sync for LoadCacheControl
impl Unpin for LoadCacheControl
impl UnwindSafe for LoadCacheControl
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more