Struct physis::mtrl::LegacyColorTableRow
source · #[repr(C)]pub struct LegacyColorTableRow {
pub diffuse_color: [f32; 3],
pub specular_strength: f32,
pub specular_color: [f32; 3],
pub gloss_strength: f32,
pub emissive_color: [f32; 3],
pub tile_set: u16,
pub material_repeat: [f32; 2],
pub material_skew: [f32; 2],
}
Fields§
§diffuse_color: [f32; 3]
§specular_strength: f32
§specular_color: [f32; 3]
§gloss_strength: f32
§emissive_color: [f32; 3]
§tile_set: u16
§material_repeat: [f32; 2]
§material_skew: [f32; 2]
Trait Implementations§
source§impl BinRead for LegacyColorTableRow
impl BinRead for LegacyColorTableRow
source§fn read_options<R: Read + Seek>(
__binrw_generated_var_reader: &mut R,
__binrw_generated_var_endian: Endian,
__binrw_generated_var_arguments: Self::Args<'_>,
) -> BinResult<Self>
fn read_options<R: Read + Seek>( __binrw_generated_var_reader: &mut R, __binrw_generated_var_endian: Endian, __binrw_generated_var_arguments: Self::Args<'_>, ) -> BinResult<Self>
§fn read_be<R>(reader: &mut R) -> Result<Self, Error>
fn read_be<R>(reader: &mut R) -> Result<Self, Error>
Read
Self
from the reader using default arguments and assuming
big-endian byte order. Read more§fn read_le<R>(reader: &mut R) -> Result<Self, Error>
fn read_le<R>(reader: &mut R) -> Result<Self, Error>
Read
Self
from the reader using default arguments and assuming
little-endian byte order. Read more§fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
Read
T
from the reader assuming native-endian byte order. Read more§fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
Read
Self
from the reader, assuming big-endian byte order, using the
given arguments. Read more§fn read_le_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
fn read_le_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
Read
Self
from the reader, assuming little-endian byte order, using
the given arguments. Read moresource§impl Clone for LegacyColorTableRow
impl Clone for LegacyColorTableRow
source§fn clone(&self) -> LegacyColorTableRow
fn clone(&self) -> LegacyColorTableRow
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LegacyColorTableRow
impl Debug for LegacyColorTableRow
impl Copy for LegacyColorTableRow
Auto Trait Implementations§
impl Freeze for LegacyColorTableRow
impl RefUnwindSafe for LegacyColorTableRow
impl Send for LegacyColorTableRow
impl Sync for LegacyColorTableRow
impl Unpin for LegacyColorTableRow
impl UnwindSafe for LegacyColorTableRow
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)