Enum spirv::StoreCacheControl
source · #[repr(u32)]pub enum StoreCacheControl {
UncachedINTEL = 0,
WriteThroughINTEL = 1,
WriteBackINTEL = 2,
StreamingINTEL = 3,
}
Expand description
SPIR-V operand kind: StoreCacheControl
Variants§
Implementations§
Trait Implementations§
source§impl Clone for StoreCacheControl
impl Clone for StoreCacheControl
source§fn clone(&self) -> StoreCacheControl
fn clone(&self) -> StoreCacheControl
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 StoreCacheControl
impl Debug for StoreCacheControl
source§impl FromStr for StoreCacheControl
impl FromStr for StoreCacheControl
source§impl Hash for StoreCacheControl
impl Hash for StoreCacheControl
source§impl Ord for StoreCacheControl
impl Ord for StoreCacheControl
source§fn cmp(&self, other: &StoreCacheControl) -> Ordering
fn cmp(&self, other: &StoreCacheControl) -> 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 StoreCacheControl
impl PartialEq for StoreCacheControl
source§fn eq(&self, other: &StoreCacheControl) -> bool
fn eq(&self, other: &StoreCacheControl) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for StoreCacheControl
impl PartialOrd for StoreCacheControl
source§fn partial_cmp(&self, other: &StoreCacheControl) -> Option<Ordering>
fn partial_cmp(&self, other: &StoreCacheControl) -> 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 StoreCacheControl
impl Eq for StoreCacheControl
impl StructuralEq for StoreCacheControl
impl StructuralPartialEq for StoreCacheControl
Auto Trait Implementations§
impl RefUnwindSafe for StoreCacheControl
impl Send for StoreCacheControl
impl Sync for StoreCacheControl
impl Unpin for StoreCacheControl
impl UnwindSafe for StoreCacheControl
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