pub enum GeometryValue {
Show 16 variants Bool(bool), String(String), Scalar(f32), Vec2F(Vec2<f32>), Vec3F(Vec3<f32>), Vec4F(Vec4<f32>), Mat2F(Mat2<f32>), Mat3F(Mat3<f32>), Mat4F(Mat4<f32>), Integer(i32), Vec2I(Vec2<i32>), Vec3I(Vec3<i32>), Vec4I(Vec4<i32>), Mat2I(Mat2<i32>), Mat3I(Mat3<i32>), Mat4I(Mat4<i32>),
}

Variants§

§

Bool(bool)

§

String(String)

§

Scalar(f32)

§

Vec2F(Vec2<f32>)

§

Vec3F(Vec3<f32>)

§

Vec4F(Vec4<f32>)

§

Mat2F(Mat2<f32>)

§

Mat3F(Mat3<f32>)

§

Mat4F(Mat4<f32>)

§

Integer(i32)

§

Vec2I(Vec2<i32>)

§

Vec3I(Vec3<i32>)

§

Vec4I(Vec4<i32>)

§

Mat2I(Mat2<i32>)

§

Mat3I(Mat3<i32>)

§

Mat4I(Mat4<i32>)

Implementations§

Trait Implementations§

source§

impl Clone for GeometryValue

source§

fn clone(&self) -> GeometryValue

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for GeometryValue

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for GeometryValue

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl From<&Mat2<f32>> for GeometryValue

source§

fn from(value: &Mat2<f32>) -> Self

Converts to this type from the input type.
source§

impl From<&Mat2<i32>> for GeometryValue

source§

fn from(value: &Mat2<i32>) -> Self

Converts to this type from the input type.
source§

impl From<&Mat3<f32>> for GeometryValue

source§

fn from(value: &Mat3<f32>) -> Self

Converts to this type from the input type.
source§

impl From<&Mat3<i32>> for GeometryValue

source§

fn from(value: &Mat3<i32>) -> Self

Converts to this type from the input type.
source§

impl From<&Mat4<f32>> for GeometryValue

source§

fn from(value: &Mat4<f32>) -> Self

Converts to this type from the input type.
source§

impl From<&Mat4<i32>> for GeometryValue

source§

fn from(value: &Mat4<i32>) -> Self

Converts to this type from the input type.
source§

impl From<&String> for GeometryValue

source§

fn from(value: &String) -> Self

Converts to this type from the input type.
source§

impl From<&Vec2<f32>> for GeometryValue

source§

fn from(value: &Vec2<f32>) -> Self

Converts to this type from the input type.
source§

impl From<&Vec2<i32>> for GeometryValue

source§

fn from(value: &Vec2<i32>) -> Self

Converts to this type from the input type.
source§

impl From<&Vec3<f32>> for GeometryValue

source§

fn from(value: &Vec3<f32>) -> Self

Converts to this type from the input type.
source§

impl From<&Vec3<i32>> for GeometryValue

source§

fn from(value: &Vec3<i32>) -> Self

Converts to this type from the input type.
source§

impl From<&Vec4<f32>> for GeometryValue

source§

fn from(value: &Vec4<f32>) -> Self

Converts to this type from the input type.
source§

impl From<&Vec4<i32>> for GeometryValue

source§

fn from(value: &Vec4<i32>) -> Self

Converts to this type from the input type.
source§

impl From<&bool> for GeometryValue

source§

fn from(value: &bool) -> Self

Converts to this type from the input type.
source§

impl From<&f32> for GeometryValue

source§

fn from(value: &f32) -> Self

Converts to this type from the input type.
source§

impl From<&i32> for GeometryValue

source§

fn from(value: &i32) -> Self

Converts to this type from the input type.
source§

impl From<&str> for GeometryValue

source§

fn from(value: &str) -> Self

Converts to this type from the input type.
source§

impl From<Mat2<f32>> for GeometryValue

source§

fn from(value: Mat2<f32>) -> Self

Converts to this type from the input type.
source§

impl From<Mat2<i32>> for GeometryValue

source§

fn from(value: Mat2<i32>) -> Self

Converts to this type from the input type.
source§

impl From<Mat3<f32>> for GeometryValue

source§

fn from(value: Mat3<f32>) -> Self

Converts to this type from the input type.
source§

impl From<Mat3<i32>> for GeometryValue

source§

fn from(value: Mat3<i32>) -> Self

Converts to this type from the input type.
source§

impl From<Mat4<f32>> for GeometryValue

source§

fn from(value: Mat4<f32>) -> Self

Converts to this type from the input type.
source§

impl From<Mat4<i32>> for GeometryValue

source§

fn from(value: Mat4<i32>) -> Self

Converts to this type from the input type.
source§

impl From<String> for GeometryValue

source§

fn from(value: String) -> Self

Converts to this type from the input type.
source§

impl From<Vec2<f32>> for GeometryValue

source§

fn from(value: Vec2<f32>) -> Self

Converts to this type from the input type.
source§

impl From<Vec2<i32>> for GeometryValue

source§

fn from(value: Vec2<i32>) -> Self

Converts to this type from the input type.
source§

impl From<Vec3<f32>> for GeometryValue

source§

fn from(value: Vec3<f32>) -> Self

Converts to this type from the input type.
source§

impl From<Vec3<i32>> for GeometryValue

source§

fn from(value: Vec3<i32>) -> Self

Converts to this type from the input type.
source§

impl From<Vec4<f32>> for GeometryValue

source§

fn from(value: Vec4<f32>) -> Self

Converts to this type from the input type.
source§

impl From<Vec4<i32>> for GeometryValue

source§

fn from(value: Vec4<i32>) -> Self

Converts to this type from the input type.
source§

impl From<bool> for GeometryValue

source§

fn from(value: bool) -> Self

Converts to this type from the input type.
source§

impl From<f32> for GeometryValue

source§

fn from(value: f32) -> Self

Converts to this type from the input type.
source§

impl From<i32> for GeometryValue

source§

fn from(value: i32) -> Self

Converts to this type from the input type.
source§

impl PartialEq<GeometryValue> for GeometryValue

source§

fn eq(&self, other: &GeometryValue) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for GeometryValue

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl ToString for GeometryValue

source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl TryInto<Mat2<f32>> for &GeometryValue

§

type Error = MeshError

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

fn try_into(self) -> Result<Mat2<f32>, Self::Error>

Performs the conversion.
source§

impl TryInto<Mat2<f32>> for GeometryValue

§

type Error = MeshError

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

fn try_into(self) -> Result<Mat2<f32>, Self::Error>

Performs the conversion.
source§

impl TryInto<Mat2<i32>> for &GeometryValue

§

type Error = MeshError

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

fn try_into(self) -> Result<Mat2<i32>, Self::Error>

Performs the conversion.
source§

impl TryInto<Mat2<i32>> for GeometryValue

§

type Error = MeshError

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

fn try_into(self) -> Result<Mat2<i32>, Self::Error>

Performs the conversion.
source§

impl TryInto<Mat3<f32>> for &GeometryValue

§

type Error = MeshError

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

fn try_into(self) -> Result<Mat3<f32>, Self::Error>

Performs the conversion.
source§

impl TryInto<Mat3<f32>> for GeometryValue

§

type Error = MeshError

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

fn try_into(self) -> Result<Mat3<f32>, Self::Error>

Performs the conversion.
source§

impl TryInto<Mat3<i32>> for &GeometryValue

§

type Error = MeshError

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

fn try_into(self) -> Result<Mat3<i32>, Self::Error>

Performs the conversion.
source§

impl TryInto<Mat3<i32>> for GeometryValue

§

type Error = MeshError

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

fn try_into(self) -> Result<Mat3<i32>, Self::Error>

Performs the conversion.
source§

impl TryInto<Mat4<f32>> for &GeometryValue

§

type Error = MeshError

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

fn try_into(self) -> Result<Mat4<f32>, Self::Error>

Performs the conversion.
source§

impl TryInto<Mat4<f32>> for GeometryValue

§

type Error = MeshError

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

fn try_into(self) -> Result<Mat4<f32>, Self::Error>

Performs the conversion.
source§

impl TryInto<Mat4<i32>> for &GeometryValue

§

type Error = MeshError

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

fn try_into(self) -> Result<Mat4<i32>, Self::Error>

Performs the conversion.
source§

impl TryInto<Mat4<i32>> for GeometryValue

§

type Error = MeshError

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

fn try_into(self) -> Result<Mat4<i32>, Self::Error>

Performs the conversion.
source§

impl TryInto<String> for &GeometryValue

§

type Error = MeshError

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

fn try_into(self) -> Result<String, Self::Error>

Performs the conversion.
source§

impl TryInto<String> for GeometryValue

§

type Error = MeshError

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

fn try_into(self) -> Result<String, Self::Error>

Performs the conversion.
source§

impl TryInto<Vec2<f32>> for &GeometryValue

§

type Error = MeshError

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

fn try_into(self) -> Result<Vec2<f32>, Self::Error>

Performs the conversion.
source§

impl TryInto<Vec2<f32>> for GeometryValue

§

type Error = MeshError

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

fn try_into(self) -> Result<Vec2<f32>, Self::Error>

Performs the conversion.
source§

impl TryInto<Vec2<i32>> for &GeometryValue

§

type Error = MeshError

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

fn try_into(self) -> Result<Vec2<i32>, Self::Error>

Performs the conversion.
source§

impl TryInto<Vec2<i32>> for GeometryValue

§

type Error = MeshError

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

fn try_into(self) -> Result<Vec2<i32>, Self::Error>

Performs the conversion.
source§

impl TryInto<Vec3<f32>> for &GeometryValue

§

type Error = MeshError

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

fn try_into(self) -> Result<Vec3<f32>, Self::Error>

Performs the conversion.
source§

impl TryInto<Vec3<f32>> for GeometryValue

§

type Error = MeshError

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

fn try_into(self) -> Result<Vec3<f32>, Self::Error>

Performs the conversion.
source§

impl TryInto<Vec3<i32>> for &GeometryValue

§

type Error = MeshError

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

fn try_into(self) -> Result<Vec3<i32>, Self::Error>

Performs the conversion.
source§

impl TryInto<Vec3<i32>> for GeometryValue

§

type Error = MeshError

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

fn try_into(self) -> Result<Vec3<i32>, Self::Error>

Performs the conversion.
source§

impl TryInto<Vec4<f32>> for &GeometryValue

§

type Error = MeshError

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

fn try_into(self) -> Result<Vec4<f32>, Self::Error>

Performs the conversion.
source§

impl TryInto<Vec4<f32>> for GeometryValue

§

type Error = MeshError

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

fn try_into(self) -> Result<Vec4<f32>, Self::Error>

Performs the conversion.
source§

impl TryInto<Vec4<i32>> for &GeometryValue

§

type Error = MeshError

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

fn try_into(self) -> Result<Vec4<i32>, Self::Error>

Performs the conversion.
source§

impl TryInto<Vec4<i32>> for GeometryValue

§

type Error = MeshError

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

fn try_into(self) -> Result<Vec4<i32>, Self::Error>

Performs the conversion.
source§

impl TryInto<bool> for &GeometryValue

§

type Error = MeshError

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

fn try_into(self) -> Result<bool, Self::Error>

Performs the conversion.
source§

impl TryInto<bool> for GeometryValue

§

type Error = MeshError

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

fn try_into(self) -> Result<bool, Self::Error>

Performs the conversion.
source§

impl TryInto<f32> for &GeometryValue

§

type Error = MeshError

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

fn try_into(self) -> Result<f32, Self::Error>

Performs the conversion.
source§

impl TryInto<f32> for GeometryValue

§

type Error = MeshError

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

fn try_into(self) -> Result<f32, Self::Error>

Performs the conversion.
source§

impl TryInto<i32> for &GeometryValue

§

type Error = MeshError

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

fn try_into(self) -> Result<i32, Self::Error>

Performs the conversion.
source§

impl TryInto<i32> for GeometryValue

§

type Error = MeshError

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

fn try_into(self) -> Result<i32, Self::Error>

Performs the conversion.
source§

impl StructuralPartialEq for GeometryValue

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
§

impl<T> Finalize for T

§

unsafe fn finalize_raw(data: *mut ())

Safety Read more
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.

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
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

§

impl<T> Component for Twhere T: Send + Sync + 'static,

source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,