Struct mmd::pmx::material::Material [−][src]
Fields
local_name: String
universal_name: String
diffuse_color: C::Vec4
specular_color: C::Vec3
specular_strength: f32
ambient_color: C::Vec3
draw_flags: BitFlags<DrawingFlags>
edge_color: C::Vec4
edge_scale: f32
texture_index: C::TextureIndex
environment_index: C::TextureIndex
environment_blend_mode: EnvironmentBlendMode
toon: Toon<C>
metadata: String
surface_count: i32
Trait Implementations
impl<C: Config> Display for Material<C> where
C::Vec3: Display,
C::Vec4: Display,
C::TextureIndex: Display,
[src]
C::Vec3: Display,
C::Vec4: Display,
C::TextureIndex: Display,
Auto Trait Implementations
impl<C> RefUnwindSafe for Material<C> where
<C as Config>::TextureIndex: RefUnwindSafe,
<C as Config>::Vec3: RefUnwindSafe,
<C as Config>::Vec4: RefUnwindSafe,
[src]
<C as Config>::TextureIndex: RefUnwindSafe,
<C as Config>::Vec3: RefUnwindSafe,
<C as Config>::Vec4: RefUnwindSafe,
impl<C> Send for Material<C> where
<C as Config>::TextureIndex: Send,
<C as Config>::Vec3: Send,
<C as Config>::Vec4: Send,
[src]
<C as Config>::TextureIndex: Send,
<C as Config>::Vec3: Send,
<C as Config>::Vec4: Send,
impl<C> Sync for Material<C> where
<C as Config>::TextureIndex: Sync,
<C as Config>::Vec3: Sync,
<C as Config>::Vec4: Sync,
[src]
<C as Config>::TextureIndex: Sync,
<C as Config>::Vec3: Sync,
<C as Config>::Vec4: Sync,
impl<C> Unpin for Material<C> where
<C as Config>::TextureIndex: Unpin,
<C as Config>::Vec3: Unpin,
<C as Config>::Vec4: Unpin,
[src]
<C as Config>::TextureIndex: Unpin,
<C as Config>::Vec3: Unpin,
<C as Config>::Vec4: Unpin,
impl<C> UnwindSafe for Material<C> where
<C as Config>::TextureIndex: UnwindSafe,
<C as Config>::Vec3: UnwindSafe,
<C as Config>::Vec4: UnwindSafe,
[src]
<C as Config>::TextureIndex: UnwindSafe,
<C as Config>::Vec3: UnwindSafe,
<C as Config>::Vec4: UnwindSafe,
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> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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>,