pub enum GeometryValueType {
Show 16 variants
Bool,
String,
Scalar,
Vec2F,
Vec3F,
Vec4F,
Mat2F,
Mat3F,
Mat4F,
Integer,
Vec2I,
Vec3I,
Vec4I,
Mat2I,
Mat3I,
Mat4I,
}
Variants§
Implementations§
source§impl GeometryValueType
impl GeometryValueType
pub fn as_vertex_value(&self) -> Option<VertexValueType>
Trait Implementations§
source§impl Clone for GeometryValueType
impl Clone for GeometryValueType
source§fn clone(&self) -> GeometryValueType
fn clone(&self) -> GeometryValueType
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 GeometryValueType
impl Debug for GeometryValueType
source§impl<'de> Deserialize<'de> for GeometryValueType
impl<'de> Deserialize<'de> for GeometryValueType
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 PartialEq<GeometryValueType> for GeometryValueType
impl PartialEq<GeometryValueType> for GeometryValueType
source§fn eq(&self, other: &GeometryValueType) -> bool
fn eq(&self, other: &GeometryValueType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<GeometryValueType> for GeometryValueType
impl PartialOrd<GeometryValueType> for GeometryValueType
source§fn partial_cmp(&self, other: &GeometryValueType) -> Option<Ordering>
fn partial_cmp(&self, other: &GeometryValueType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for GeometryValueType
impl Serialize for GeometryValueType
impl Copy for GeometryValueType
impl StructuralPartialEq for GeometryValueType
Auto Trait Implementations§
impl RefUnwindSafe for GeometryValueType
impl Send for GeometryValueType
impl Sync for GeometryValueType
impl Unpin for GeometryValueType
impl UnwindSafe for GeometryValueType
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