#[repr(transparent)]pub struct LogicOp(pub i32);Expand description
Open integer representation of VkLogicOp.
Tuple Fields§
§0: i32Implementations§
Source§impl LogicOp
impl LogicOp
Sourcepub const AND_REVERSE: Self
pub const AND_REVERSE: Self
Native value VK_LOGIC_OP_AND_REVERSE.
Sourcepub const AND_INVERTED: Self
pub const AND_INVERTED: Self
Native value VK_LOGIC_OP_AND_INVERTED.
Sourcepub const EQUIVALENT: Self
pub const EQUIVALENT: Self
Native value VK_LOGIC_OP_EQUIVALENT.
Sourcepub const OR_REVERSE: Self
pub const OR_REVERSE: Self
Native value VK_LOGIC_OP_OR_REVERSE.
Sourcepub const COPY_INVERTED: Self
pub const COPY_INVERTED: Self
Native value VK_LOGIC_OP_COPY_INVERTED.
Sourcepub const OR_INVERTED: Self
pub const OR_INVERTED: Self
Native value VK_LOGIC_OP_OR_INVERTED.
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 LogicOp
impl Eq for LogicOp
impl StructuralPartialEq for LogicOp
Auto Trait Implementations§
impl Forget for LogicOp
impl Freeze for LogicOp
impl Move for LogicOp
impl RefUnwindSafe for LogicOp
impl Send for LogicOp
impl Sync for LogicOp
impl Unpin for LogicOp
impl UnsafeUnpin for LogicOp
impl UnwindSafe for LogicOp
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