pub struct CategorisedMaterial {
pub material: Material,
pub category: MaterialCategory,
}Expand description
A preset material with its category.
Fields§
§material: MaterialThe material.
category: MaterialCategoryThe category.
Auto Trait Implementations§
impl Freeze for CategorisedMaterial
impl RefUnwindSafe for CategorisedMaterial
impl Send for CategorisedMaterial
impl Sync for CategorisedMaterial
impl Unpin for CategorisedMaterial
impl UnsafeUnpin for CategorisedMaterial
impl UnwindSafe for CategorisedMaterial
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