pub enum FieldKind {
Show 49 variants Bool(bool), U8(u8), I8(i8), U16(u16), I16(i16), U32(u32), I32(i32), U64(u64), I64(i64), F32(f32), F64(f64), UnitQuaternion(UnitQuaternion<f32>), Matrix4(Matrix4<f32>), Data(Vec<u8>), Matrix3(Matrix3<f32>), Uuid(Uuid), UnitComplex(UnitComplex<f32>), PodArray { type_id: u8, element_size: u32, bytes: Vec<u8>, }, Matrix2(Matrix2<f32>), Vector2F32(Vector2<f32>), Vector3F32(Vector3<f32>), Vector4F32(Vector4<f32>), Vector2F64(Vector2<f64>), Vector3F64(Vector3<f64>), Vector4F64(Vector4<f64>), Vector2U8(Vector2<u8>), Vector3U8(Vector3<u8>), Vector4U8(Vector4<u8>), Vector2I8(Vector2<i8>), Vector3I8(Vector3<i8>), Vector4I8(Vector4<i8>), Vector2U16(Vector2<u16>), Vector3U16(Vector3<u16>), Vector4U16(Vector4<u16>), Vector2I16(Vector2<i16>), Vector3I16(Vector3<i16>), Vector4I16(Vector4<i16>), Vector2U32(Vector2<u32>), Vector3U32(Vector3<u32>), Vector4U32(Vector4<u32>), Vector2I32(Vector2<i32>), Vector3I32(Vector3<i32>), Vector4I32(Vector4<i32>), Vector2U64(Vector2<u64>), Vector3U64(Vector3<u64>), Vector4U64(Vector4<u64>), Vector2I64(Vector2<i64>), Vector3I64(Vector3<i64>), Vector4I64(Vector4<i64>),
}

Variants§

§

Bool(bool)

§

U8(u8)

§

I8(i8)

§

U16(u16)

§

I16(i16)

§

U32(u32)

§

I32(i32)

§

U64(u64)

§

I64(i64)

§

F32(f32)

§

F64(f64)

§

UnitQuaternion(UnitQuaternion<f32>)

§

Matrix4(Matrix4<f32>)

§

Data(Vec<u8>)

§

Matrix3(Matrix3<f32>)

§

Uuid(Uuid)

§

UnitComplex(UnitComplex<f32>)

§

PodArray

Fields

§type_id: u8
§element_size: u32
§bytes: Vec<u8>
§

Matrix2(Matrix2<f32>)

§

Vector2F32(Vector2<f32>)

§

Vector3F32(Vector3<f32>)

§

Vector4F32(Vector4<f32>)

§

Vector2F64(Vector2<f64>)

§

Vector3F64(Vector3<f64>)

§

Vector4F64(Vector4<f64>)

§

Vector2U8(Vector2<u8>)

§

Vector3U8(Vector3<u8>)

§

Vector4U8(Vector4<u8>)

§

Vector2I8(Vector2<i8>)

§

Vector3I8(Vector3<i8>)

§

Vector4I8(Vector4<i8>)

§

Vector2U16(Vector2<u16>)

§

Vector3U16(Vector3<u16>)

§

Vector4U16(Vector4<u16>)

§

Vector2I16(Vector2<i16>)

§

Vector3I16(Vector3<i16>)

§

Vector4I16(Vector4<i16>)

§

Vector2U32(Vector2<u32>)

§

Vector3U32(Vector3<u32>)

§

Vector4U32(Vector4<u32>)

§

Vector2I32(Vector2<i32>)

§

Vector3I32(Vector3<i32>)

§

Vector4I32(Vector4<i32>)

§

Vector2U64(Vector2<u64>)

§

Vector3U64(Vector3<u64>)

§

Vector4U64(Vector4<u64>)

§

Vector2I64(Vector2<i64>)

§

Vector3I64(Vector3<i64>)

§

Vector4I64(Vector4<i64>)

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> FieldValue for Twhere T: 'static,

source§

fn as_any(&self) -> &(dyn Any + 'static)

Casts self to a &dyn Any
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<SS, SP> SupersetOf<SS> for SPwhere SS: SubsetOf<SP>,

§

fn to_subset(&self) -> Option<SS>

The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more
§

fn is_in_subset(&self) -> bool

Checks if self is actually part of its subset T (and can be converted to it).
§

fn to_subset_unchecked(&self) -> SS

Use with care! Same as self.to_subset but without any property checks. Always succeeds.
§

fn from_subset(element: &SS) -> SP

The inclusion map: converts self to the equivalent element of its superset.
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V