#[repr(transparent)]pub struct TransformType(pub Integer);Expand description
Transform type for acceleration structures.
C++ equivalent: MTL::TransformType
Tuple Fields§
§0: IntegerImplementations§
Source§impl TransformType
impl TransformType
pub const PACKED_FLOAT4X3: Self
pub const COMPONENT: Self
Trait Implementations§
Source§impl Clone for TransformType
impl Clone for TransformType
Source§fn clone(&self) -> TransformType
fn clone(&self) -> TransformType
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 TransformType
impl Debug for TransformType
Source§impl Default for TransformType
impl Default for TransformType
Source§fn default() -> TransformType
fn default() -> TransformType
Returns the “default value” for a type. Read more
Source§impl Hash for TransformType
impl Hash for TransformType
Source§impl PartialEq for TransformType
impl PartialEq for TransformType
impl Copy for TransformType
impl Eq for TransformType
impl StructuralPartialEq for TransformType
Auto Trait Implementations§
impl Freeze for TransformType
impl RefUnwindSafe for TransformType
impl Send for TransformType
impl Sync for TransformType
impl Unpin for TransformType
impl UnwindSafe for TransformType
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