Enum metal::MTLCompareFunction
source · #[repr(u64)]pub enum MTLCompareFunction {
Never = 0,
Less = 1,
Equal = 2,
LessEqual = 3,
Greater = 4,
NotEqual = 5,
GreaterEqual = 6,
Always = 7,
}
Expand description
Variants§
Trait Implementations§
source§impl Clone for MTLCompareFunction
impl Clone for MTLCompareFunction
source§fn clone(&self) -> MTLCompareFunction
fn clone(&self) -> MTLCompareFunction
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 MTLCompareFunction
impl Debug for MTLCompareFunction
source§impl Hash for MTLCompareFunction
impl Hash for MTLCompareFunction
source§impl PartialEq for MTLCompareFunction
impl PartialEq for MTLCompareFunction
source§fn eq(&self, other: &MTLCompareFunction) -> bool
fn eq(&self, other: &MTLCompareFunction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MTLCompareFunction
impl Eq for MTLCompareFunction
impl StructuralPartialEq for MTLCompareFunction
Auto Trait Implementations§
impl Freeze for MTLCompareFunction
impl RefUnwindSafe for MTLCompareFunction
impl Send for MTLCompareFunction
impl Sync for MTLCompareFunction
impl Unpin for MTLCompareFunction
impl UnwindSafe for MTLCompareFunction
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)