#[repr(transparent)]pub struct MathMode(pub Integer);Expand description
Math mode for shader compilation.
C++ equivalent: MTL::MathMode
Tuple Fields§
§0: IntegerImplementations§
Trait Implementations§
impl Copy for MathMode
impl Eq for MathMode
impl StructuralPartialEq for MathMode
Auto Trait Implementations§
impl Freeze for MathMode
impl RefUnwindSafe for MathMode
impl Send for MathMode
impl Sync for MathMode
impl Unpin for MathMode
impl UnwindSafe for MathMode
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