#[repr(u64)]pub enum MTLHazardTrackingMode {
Default = 0,
Untracked = 1,
Tracked = 2,
}Expand description
Only available on macos(10.15), ios(13.0)
See https://developer.apple.com/documentation/metal/mtlhazardtrackingmode
Variants§
Trait Implementations§
Source§impl Clone for MTLHazardTrackingMode
impl Clone for MTLHazardTrackingMode
Source§fn clone(&self) -> MTLHazardTrackingMode
fn clone(&self) -> MTLHazardTrackingMode
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 MTLHazardTrackingMode
Source§impl Debug for MTLHazardTrackingMode
impl Debug for MTLHazardTrackingMode
impl Eq for MTLHazardTrackingMode
Source§impl Hash for MTLHazardTrackingMode
impl Hash for MTLHazardTrackingMode
Source§impl PartialEq for MTLHazardTrackingMode
impl PartialEq for MTLHazardTrackingMode
Source§fn eq(&self, other: &MTLHazardTrackingMode) -> bool
fn eq(&self, other: &MTLHazardTrackingMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MTLHazardTrackingMode
Auto Trait Implementations§
impl Freeze for MTLHazardTrackingMode
impl RefUnwindSafe for MTLHazardTrackingMode
impl Send for MTLHazardTrackingMode
impl Sync for MTLHazardTrackingMode
impl Unpin for MTLHazardTrackingMode
impl UnsafeUnpin for MTLHazardTrackingMode
impl UnwindSafe for MTLHazardTrackingMode
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