#[repr(transparent)]pub struct MDLMaterialPropertyType(pub NSUInteger);
Available on crate feature
MDLMaterial
only.Expand description
Tuple Fields§
§0: NSUInteger
Implementations§
Source§impl MDLMaterialPropertyType
impl MDLMaterialPropertyType
pub const None: Self
pub const String: Self
pub const URL: Self
pub const Texture: Self
pub const Color: Self
pub const Float: Self
pub const Float2: Self
pub const Float3: Self
pub const Float4: Self
pub const Matrix44: Self
pub const Buffer: Self
Trait Implementations§
Source§impl Clone for MDLMaterialPropertyType
impl Clone for MDLMaterialPropertyType
Source§fn clone(&self) -> MDLMaterialPropertyType
fn clone(&self) -> MDLMaterialPropertyType
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 MDLMaterialPropertyType
impl Debug for MDLMaterialPropertyType
Source§impl Encode for MDLMaterialPropertyType
impl Encode for MDLMaterialPropertyType
Source§impl Hash for MDLMaterialPropertyType
impl Hash for MDLMaterialPropertyType
Source§impl Ord for MDLMaterialPropertyType
impl Ord for MDLMaterialPropertyType
Source§fn cmp(&self, other: &MDLMaterialPropertyType) -> Ordering
fn cmp(&self, other: &MDLMaterialPropertyType) -> 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 MDLMaterialPropertyType
impl PartialEq for MDLMaterialPropertyType
Source§impl PartialOrd for MDLMaterialPropertyType
impl PartialOrd for MDLMaterialPropertyType
Source§impl RefEncode for MDLMaterialPropertyType
impl RefEncode for MDLMaterialPropertyType
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 MDLMaterialPropertyType
impl Eq for MDLMaterialPropertyType
impl StructuralPartialEq for MDLMaterialPropertyType
Auto Trait Implementations§
impl Freeze for MDLMaterialPropertyType
impl RefUnwindSafe for MDLMaterialPropertyType
impl Send for MDLMaterialPropertyType
impl Sync for MDLMaterialPropertyType
impl Unpin for MDLMaterialPropertyType
impl UnwindSafe for MDLMaterialPropertyType
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.