pub struct MaterialIndex(/* private fields */);Trait Implementations§
Source§impl Clone for MaterialIndex
impl Clone for MaterialIndex
Source§fn clone(&self) -> MaterialIndex
fn clone(&self) -> MaterialIndex
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 MaterialIndex
impl Debug for MaterialIndex
Source§impl Default for MaterialIndex
impl Default for MaterialIndex
Source§fn default() -> MaterialIndex
fn default() -> MaterialIndex
Returns the “default value” for a type. Read more
Source§impl Deref for MaterialIndex
impl Deref for MaterialIndex
Source§impl DerefMut for MaterialIndex
impl DerefMut for MaterialIndex
Source§impl<'de> Deserialize<'de> for MaterialIndex
impl<'de> Deserialize<'de> for MaterialIndex
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for MaterialIndex
impl Display for MaterialIndex
Source§impl From<&MaterialIndex> for ShortIndex
impl From<&MaterialIndex> for ShortIndex
Source§fn from(value: &MaterialIndex) -> ShortIndex
fn from(value: &MaterialIndex) -> ShortIndex
Converts to this type from the input type.
Source§impl From<MaterialIndex> for ShortIndex
impl From<MaterialIndex> for ShortIndex
Source§fn from(value: MaterialIndex) -> ShortIndex
fn from(value: MaterialIndex) -> ShortIndex
Converts to this type from the input type.
Source§impl From<MaterialIndex> for usize
impl From<MaterialIndex> for usize
Source§fn from(value: MaterialIndex) -> usize
fn from(value: MaterialIndex) -> usize
Converts to this type from the input type.
Source§impl From<usize> for MaterialIndex
impl From<usize> for MaterialIndex
Source§impl Index<MaterialIndex> for Gltf
impl Index<MaterialIndex> for Gltf
Source§type Output = GltfMaterial
type Output = GltfMaterial
The returned type after indexing.
Source§impl PartialEq for MaterialIndex
impl PartialEq for MaterialIndex
Source§impl Serialize for MaterialIndex
impl Serialize for MaterialIndex
impl Copy for MaterialIndex
impl Eq for MaterialIndex
impl StructuralPartialEq for MaterialIndex
Auto Trait Implementations§
impl Freeze for MaterialIndex
impl RefUnwindSafe for MaterialIndex
impl Send for MaterialIndex
impl Sync for MaterialIndex
impl Unpin for MaterialIndex
impl UnwindSafe for MaterialIndex
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