#[repr(transparent)]pub struct CompareOp(pub i32);Expand description
Open integer representation of VkCompareOp.
Tuple Fields§
§0: i32Implementations§
Source§impl CompareOp
impl CompareOp
Sourcepub const LESS_OR_EQUAL: Self
pub const LESS_OR_EQUAL: Self
Native value VK_COMPARE_OP_LESS_OR_EQUAL.
Sourcepub const GREATER_OR_EQUAL: Self
pub const GREATER_OR_EQUAL: Self
Native value VK_COMPARE_OP_GREATER_OR_EQUAL.
pub const fn from_raw(value: i32) -> Self
pub const fn as_raw(self) -> i32
pub const fn empty() -> Self
Trait Implementations§
impl Copy for CompareOp
impl Eq for CompareOp
impl StructuralPartialEq for CompareOp
Auto Trait Implementations§
impl Forget for CompareOp
impl Freeze for CompareOp
impl Move for CompareOp
impl RefUnwindSafe for CompareOp
impl Send for CompareOp
impl Sync for CompareOp
impl Unpin for CompareOp
impl UnsafeUnpin for CompareOp
impl UnwindSafe for CompareOp
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