pub struct RawMtl {
pub materials: HashMap<String, Material>,
}
Expand description
Low-level Rust binding for .mtl
format (incomplete).
Fields§
§materials: HashMap<String, Material>
Map from the material name to its properties
Trait Implementations§
impl StructuralPartialEq for RawMtl
Auto Trait Implementations§
impl Freeze for RawMtl
impl RefUnwindSafe for RawMtl
impl Send for RawMtl
impl Sync for RawMtl
impl Unpin for RawMtl
impl UnwindSafe for RawMtl
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