#[repr(u32)]
pub enum ValueType {
None,
Float32,
Vec2,
Vec3,
Vec4,
Quat,
Bool,
Int64,
}
Variants
None
Float32
Vec2
Vec3
Vec4
Quat
Bool
Int64
Trait Implementations
sourceimpl CheckedBitPattern for ValueType
impl CheckedBitPattern for ValueType
type Bits = u32
type Bits = u32
Self
must have the same layout as the specified Bits
except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern
. Read more
sourcefn is_valid_bit_pattern(bits: &<ValueType as CheckedBitPattern>::Bits) -> bool
fn is_valid_bit_pattern(bits: &<ValueType as CheckedBitPattern>::Bits) -> bool
If this function returns true, then it must be valid to reinterpret bits
as &Self
. Read more
sourceimpl PartialEq<ValueType> for ValueType
impl PartialEq<ValueType> for ValueType
impl Copy for ValueType
impl Eq for ValueType
impl NoUninit for ValueType
impl StructuralEq for ValueType
impl StructuralPartialEq for ValueType
Auto Trait Implementations
impl RefUnwindSafe for ValueType
impl Send for ValueType
impl Sync for ValueType
impl Unpin for ValueType
impl UnwindSafe for ValueType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more