#[repr(transparent)]pub struct MetalMathMode(pub usize);Expand description
Re-exports the Metal framework surface for this item.
Mirrors the Metal framework counterpart for MetalMathMode.
Mirrors the Metal framework counterpart for this type.
Tuple Fields§
§0: usizeImplementations§
Trait Implementations§
Source§impl Clone for MetalMathMode
impl Clone for MetalMathMode
Source§fn clone(&self) -> MetalMathMode
fn clone(&self) -> MetalMathMode
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 MetalMathMode
Source§impl Debug for MetalMathMode
impl Debug for MetalMathMode
Source§impl Default for MetalMathMode
impl Default for MetalMathMode
Source§fn default() -> MetalMathMode
fn default() -> MetalMathMode
Returns the “default value” for a type. Read more
impl Eq for MetalMathMode
Source§impl Hash for MetalMathMode
impl Hash for MetalMathMode
Source§impl PartialEq for MetalMathMode
impl PartialEq for MetalMathMode
Source§fn eq(&self, other: &MetalMathMode) -> bool
fn eq(&self, other: &MetalMathMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MetalMathMode
Auto Trait Implementations§
impl Freeze for MetalMathMode
impl RefUnwindSafe for MetalMathMode
impl Send for MetalMathMode
impl Sync for MetalMathMode
impl Unpin for MetalMathMode
impl UnsafeUnpin for MetalMathMode
impl UnwindSafe for MetalMathMode
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