#[repr(transparent)]pub struct MTLTransformType(pub NSInteger);Available on crate feature
MTLAccelerationStructure only.Expand description
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl MTLTransformType
impl MTLTransformType
Sourcepub const PackedFloat4x3: Self
pub const PackedFloat4x3: Self
A tightly packed matrix with 4 columns and 3 rows. The full transform is assumed to be a 4x4 matrix with the last row being (0, 0, 0, 1).
Trait Implementations§
Source§impl Clone for MTLTransformType
impl Clone for MTLTransformType
Source§fn clone(&self) -> MTLTransformType
fn clone(&self) -> MTLTransformType
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 moreSource§impl Debug for MTLTransformType
impl Debug for MTLTransformType
Source§impl Encode for MTLTransformType
impl Encode for MTLTransformType
Source§impl Hash for MTLTransformType
impl Hash for MTLTransformType
Source§impl Ord for MTLTransformType
impl Ord for MTLTransformType
Source§fn cmp(&self, other: &MTLTransformType) -> Ordering
fn cmp(&self, other: &MTLTransformType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MTLTransformType
impl PartialEq for MTLTransformType
Source§impl PartialOrd for MTLTransformType
impl PartialOrd for MTLTransformType
Source§impl RefEncode for MTLTransformType
impl RefEncode for MTLTransformType
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for MTLTransformType
impl Eq for MTLTransformType
impl StructuralPartialEq for MTLTransformType
Auto Trait Implementations§
impl Freeze for MTLTransformType
impl RefUnwindSafe for MTLTransformType
impl Send for MTLTransformType
impl Sync for MTLTransformType
impl Unpin for MTLTransformType
impl UnwindSafe for MTLTransformType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.