pub struct PrettyMaterial {
pub name: String,
pub material_type: String,
pub properties: Vec<(String, String)>,
}Expand description
A pretty-printable material declaration.
Fields§
§name: String§material_type: String§properties: Vec<(String, String)>Implementations§
Trait Implementations§
Source§impl Clone for PrettyMaterial
impl Clone for PrettyMaterial
Auto Trait Implementations§
impl Freeze for PrettyMaterial
impl RefUnwindSafe for PrettyMaterial
impl Send for PrettyMaterial
impl Sync for PrettyMaterial
impl Unpin for PrettyMaterial
impl UnsafeUnpin for PrettyMaterial
impl UnwindSafe for PrettyMaterial
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