#[repr(u64)]pub enum MTLCPUCacheMode {
DefaultCache = 0,
WriteCombined = 1,
}Expand description
Variants§
Trait Implementations§
Source§impl Clone for MTLCPUCacheMode
impl Clone for MTLCPUCacheMode
Source§fn clone(&self) -> MTLCPUCacheMode
fn clone(&self) -> MTLCPUCacheMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MTLCPUCacheMode
Source§impl Debug for MTLCPUCacheMode
impl Debug for MTLCPUCacheMode
impl Eq for MTLCPUCacheMode
Source§impl Hash for MTLCPUCacheMode
impl Hash for MTLCPUCacheMode
Source§impl PartialEq for MTLCPUCacheMode
impl PartialEq for MTLCPUCacheMode
Source§fn eq(&self, other: &MTLCPUCacheMode) -> bool
fn eq(&self, other: &MTLCPUCacheMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MTLCPUCacheMode
Auto Trait Implementations§
impl Freeze for MTLCPUCacheMode
impl RefUnwindSafe for MTLCPUCacheMode
impl Send for MTLCPUCacheMode
impl Sync for MTLCPUCacheMode
impl Unpin for MTLCPUCacheMode
impl UnsafeUnpin for MTLCPUCacheMode
impl UnwindSafe for MTLCPUCacheMode
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