pub struct CableMaterial {
pub base_texture: String,
pub bump_map: Option<String>,
pub vertex_color: bool,
pub min_light: f32,
pub max_light: f32,
pub no_cull: bool,
}Fields§
§base_texture: StringDefines an albedo texture.
bump_map: Option<String>Specifies a texture that will provide three-dimensional lighting information for a material.
vertex_color: boolUse computed vertex colors.
min_light: f32Minimum amount of light received
max_light: f32Maximum amount of light received
no_cull: boolDisables backface culling.
Trait Implementations§
Source§impl Clone for CableMaterial
impl Clone for CableMaterial
Source§fn clone(&self) -> CableMaterial
fn clone(&self) -> CableMaterial
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 CableMaterial
impl Debug for CableMaterial
Source§impl<'de> Deserialize<'de> for CableMaterial
impl<'de> Deserialize<'de> for CableMaterial
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CableMaterial
impl RefUnwindSafe for CableMaterial
impl Send for CableMaterial
impl Sync for CableMaterial
impl Unpin for CableMaterial
impl UnwindSafe for CableMaterial
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