pub struct MaterialTableOwned {
pub ids: Vec<MaterialId>,
pub name_symbols: Vec<SymbolId>,
pub ambient_intensity: Vec<Option<f32>>,
pub diffuse_color: Vec<Option<[f32; 3]>>,
pub emissive_color: Vec<Option<[f32; 3]>>,
pub specular_color: Vec<Option<[f32; 3]>>,
pub shininess: Vec<Option<f32>>,
pub transparency: Vec<Option<f32>>,
pub is_smooth: Vec<Option<bool>>,
}Fields§
§ids: Vec<MaterialId>§name_symbols: Vec<SymbolId>§ambient_intensity: Vec<Option<f32>>§diffuse_color: Vec<Option<[f32; 3]>>§emissive_color: Vec<Option<[f32; 3]>>§specular_color: Vec<Option<[f32; 3]>>§shininess: Vec<Option<f32>>§transparency: Vec<Option<f32>>§is_smooth: Vec<Option<bool>>Implementations§
Trait Implementations§
Source§impl Clone for MaterialTableOwned
impl Clone for MaterialTableOwned
Source§fn clone(&self) -> MaterialTableOwned
fn clone(&self) -> MaterialTableOwned
Returns a duplicate 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 MaterialTableOwned
impl Debug for MaterialTableOwned
Source§impl Default for MaterialTableOwned
impl Default for MaterialTableOwned
Source§fn default() -> MaterialTableOwned
fn default() -> MaterialTableOwned
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MaterialTableOwned
impl RefUnwindSafe for MaterialTableOwned
impl Send for MaterialTableOwned
impl Sync for MaterialTableOwned
impl Unpin for MaterialTableOwned
impl UnsafeUnpin for MaterialTableOwned
impl UnwindSafe for MaterialTableOwned
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