pub enum MaterialProperty {
Texture(String),
Boolean(bool),
Integer(i64),
Float(f32),
Vec4(Vec4),
}Variants§
Texture(String)
Integer property.
Boolean(bool)
A boolean property.
Integer(i64)
An integer property.
Float(f32)
A float property.
Vec4(Vec4)
A vec4 property.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MaterialProperty
impl RefUnwindSafe for MaterialProperty
impl Send for MaterialProperty
impl Sync for MaterialProperty
impl Unpin for MaterialProperty
impl UnwindSafe for MaterialProperty
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