#[repr(u32)]pub enum ValueType {
None,
Float32,
Vec2,
Vec3,
Vec4,
Quat,
Bool,
Int64,
}Variants§
Trait Implementations§
source§impl 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.source§fn 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.source§impl 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§
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