pub enum GeometryValue {
}
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§
source§impl GeometryValue
impl GeometryValue
pub fn as_value_type(&self) -> GeometryValueType
Trait Implementations§
source§impl Clone for GeometryValue
impl Clone for GeometryValue
source§fn clone(&self) -> GeometryValue
fn clone(&self) -> GeometryValue
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GeometryValue
impl Debug for GeometryValue
source§impl<'de> Deserialize<'de> for GeometryValue
impl<'de> Deserialize<'de> for GeometryValue
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
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<&String> for GeometryValue
impl From<&String> for GeometryValue
source§impl From<&bool> for GeometryValue
impl From<&bool> for GeometryValue
source§impl From<&f32> for GeometryValue
impl From<&f32> for GeometryValue
source§impl From<&i32> for GeometryValue
impl From<&i32> for GeometryValue
source§impl From<&str> for GeometryValue
impl From<&str> for GeometryValue
source§impl From<String> for GeometryValue
impl From<String> for GeometryValue
source§impl From<bool> for GeometryValue
impl From<bool> for GeometryValue
source§impl From<f32> for GeometryValue
impl From<f32> for GeometryValue
source§impl From<i32> for GeometryValue
impl From<i32> for GeometryValue
source§impl PartialEq<GeometryValue> for GeometryValue
impl PartialEq<GeometryValue> for GeometryValue
source§fn eq(&self, other: &GeometryValue) -> bool
fn eq(&self, other: &GeometryValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GeometryValue
impl Serialize for GeometryValue
source§impl ToString for GeometryValue
impl ToString for GeometryValue
source§impl TryInto<String> for &GeometryValue
impl TryInto<String> for &GeometryValue
source§impl TryInto<String> for GeometryValue
impl TryInto<String> for GeometryValue
source§impl TryInto<bool> for &GeometryValue
impl TryInto<bool> for &GeometryValue
source§impl TryInto<bool> for GeometryValue
impl TryInto<bool> for GeometryValue
source§impl TryInto<f32> for &GeometryValue
impl TryInto<f32> for &GeometryValue
source§impl TryInto<f32> for GeometryValue
impl TryInto<f32> for GeometryValue
source§impl TryInto<i32> for &GeometryValue
impl TryInto<i32> for &GeometryValue
source§impl TryInto<i32> for GeometryValue
impl TryInto<i32> for GeometryValue
impl StructuralPartialEq for GeometryValue
Auto Trait Implementations§
impl RefUnwindSafe for GeometryValue
impl Send for GeometryValue
impl Sync for GeometryValue
impl Unpin for GeometryValue
impl UnwindSafe for GeometryValue
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