#[repr(u32)]pub enum MaterialPropertyType {
None = 0,
String = 1,
Url = 2,
Texture = 3,
Color = 4,
Float = 5,
Float2 = 6,
Float3 = 7,
Float4 = 8,
Matrix44 = 9,
Buffer = 10,
}Variants§
None = 0
String = 1
Url = 2
Texture = 3
Color = 4
Float = 5
Float2 = 6
Float3 = 7
Float4 = 8
Matrix44 = 9
Buffer = 10
Implementations§
Trait Implementations§
Source§impl Clone for MaterialPropertyType
impl Clone for MaterialPropertyType
Source§fn clone(&self) -> MaterialPropertyType
fn clone(&self) -> MaterialPropertyType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MaterialPropertyType
impl Debug for MaterialPropertyType
Source§impl PartialEq for MaterialPropertyType
impl PartialEq for MaterialPropertyType
Source§fn eq(&self, other: &MaterialPropertyType) -> bool
fn eq(&self, other: &MaterialPropertyType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for MaterialPropertyType
impl Eq for MaterialPropertyType
impl StructuralPartialEq for MaterialPropertyType
Auto Trait Implementations§
impl Freeze for MaterialPropertyType
impl RefUnwindSafe for MaterialPropertyType
impl Send for MaterialPropertyType
impl Sync for MaterialPropertyType
impl Unpin for MaterialPropertyType
impl UnsafeUnpin for MaterialPropertyType
impl UnwindSafe for MaterialPropertyType
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