pub enum FieldKind {
Show 22 variants
Bool(bool),
U8(u8),
I8(i8),
U16(u16),
I16(i16),
U32(u32),
I32(i32),
U64(u64),
I64(i64),
F32(f32),
F64(f64),
Vector3(Vector3<f32>),
UnitQuaternion(UnitQuaternion<f32>),
Matrix4(Matrix4<f32>),
Data(Vec<u8>),
Matrix3(Matrix3<f32>),
Vector2(Vector2<f32>),
Vector4(Vector4<f32>),
Uuid(Uuid),
UnitComplex(UnitComplex<f32>),
PodArray {
type_id: u8,
element_size: u32,
bytes: Vec<u8>,
},
Matrix2(Matrix2<f32>),
}Variants§
Bool(bool)
U8(u8)
I8(i8)
U16(u16)
I16(i16)
U32(u32)
I32(i32)
U64(u64)
I64(i64)
F32(f32)
F64(f64)
Vector3(Vector3<f32>)
UnitQuaternion(UnitQuaternion<f32>)
Matrix4(Matrix4<f32>)
Data(Vec<u8>)
Matrix3(Matrix3<f32>)
Vector2(Vector2<f32>)
Vector4(Vector4<f32>)
Uuid(Uuid)
UnitComplex(UnitComplex<f32>)
PodArray
Matrix2(Matrix2<f32>)
Auto Trait Implementations§
impl Freeze for FieldKind
impl RefUnwindSafe for FieldKind
impl Send for FieldKind
impl Sync for FieldKind
impl Unpin for FieldKind
impl UnwindSafe for FieldKind
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
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.