pub enum Materials {
Single(Material),
Multiple(Vec<Material>),
}
Expand description
Face materials
Variants§
Single(Material)
Material was assigned at object level or all faces on geometry share the same material
Multiple(Vec<Material>)
Materials assigned per-face
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Materials
impl !RefUnwindSafe for Materials
impl Send for Materials
impl Sync for Materials
impl Unpin for Materials
impl !UnwindSafe for Materials
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