#[repr(transparent)]pub struct LogicOp(pub i32);
Expand description
Vulkan Manual Page · Enum
Tuple Fields
0: i32
Implementations
sourceimpl LogicOp
impl LogicOp
Provided by crate::vk1_0
pub const CLEAR: Self = _
pub const AND: Self = _
pub const AND_REVERSE: Self = _
pub const COPY: Self = _
pub const AND_INVERTED: Self = _
pub const NO_OP: Self = _
pub const XOR: Self = _
pub const OR: Self = _
pub const NOR: Self = _
pub const EQUIVALENT: Self = _
pub const INVERT: Self = _
pub const OR_REVERSE: Self = _
pub const COPY_INVERTED: Self = _
pub const OR_INVERTED: Self = _
pub const NAND: Self = _
pub const SET: Self = _
Trait Implementations
sourceimpl Ord for LogicOp
impl Ord for LogicOp
1.21.0 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialOrd<LogicOp> for LogicOp
impl PartialOrd<LogicOp> for LogicOp
sourcefn partial_cmp(&self, other: &LogicOp) -> Option<Ordering>
fn partial_cmp(&self, other: &LogicOp) -> Option<Ordering>
1.0.0 · sourcefn 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 LogicOp
impl Eq for LogicOp
impl StructuralEq for LogicOp
impl StructuralPartialEq for LogicOp
Auto Trait Implementations
impl RefUnwindSafe for LogicOp
impl Send for LogicOp
impl Sync for LogicOp
impl Unpin for LogicOp
impl UnwindSafe for LogicOp
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more