[−][src]Struct obj::Material
The model of an a single Material as defined in the .mtl spec.
Fields
name: String
ka: Option<[f32; 3]>
kd: Option<[f32; 3]>
ks: Option<[f32; 3]>
ke: Option<[f32; 3]>
km: Option<f32>
tf: Option<[f32; 3]>
ns: Option<f32>
ni: Option<f32>
tr: Option<f32>
d: Option<f32>
illum: Option<i32>
map_ka: Option<String>
map_kd: Option<String>
map_ks: Option<String>
map_ke: Option<String>
map_ns: Option<String>
map_d: Option<String>
map_bump: Option<String>
map_refl: Option<String>
Implementations
impl Material
[src]
Trait Implementations
impl Clone for Material
[src]
impl Debug for Material
[src]
impl<'a> From<Material> for Cow<'a, Material>
[src]
impl PartialEq<Material> for Material
[src]
impl StructuralPartialEq for Material
[src]
Auto Trait Implementations
impl RefUnwindSafe for Material
impl Send for Material
impl Sync for Material
impl Unpin for Material
impl UnwindSafe for Material
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,