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