#[repr(u64)]pub enum MTLCompareFunction {
Never = 0,
Less = 1,
Equal = 2,
LessEqual = 3,
Greater = 4,
NotEqual = 5,
GreaterEqual = 6,
Always = 7,
}Variants§
Trait Implementations§
Source§impl Clone for MTLCompareFunction
impl Clone for MTLCompareFunction
Source§fn clone(&self) -> MTLCompareFunction
fn clone(&self) -> MTLCompareFunction
Returns a duplicate 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 moreimpl Copy 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