Enum ux::prelude::dx::AttributeType [−][src]
#[non_exhaustive] pub enum AttributeType { Byte, UnsignedByte, Short, UnsignedShort, Float, // some variants omitted }
Data types for the components of a vertex attribute.
Variants (Non-exhaustive)
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Data is the same size of a byte
Data is the same size of an unsigned byte
Data is the same size of a short integer
Data is the same size of an unsigned short integer
Data is the same size of a float
Trait Implementations
impl Clone for AttributeType
[src]
impl Clone for AttributeType
[src]pub fn clone(&self) -> AttributeType
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for AttributeType
[src]
impl Copy for AttributeType
[src]impl Display for AttributeType
[src]
impl Display for AttributeType
[src]impl Eq for AttributeType
[src]
impl Eq for AttributeType
[src]impl<'a> FromValue<'a> for AttributeType
[src]
impl<'a> FromValue<'a> for AttributeType
[src]pub unsafe fn from_value(value: &Value) -> AttributeType
[src]
impl<'a> FromValueOptional<'a> for AttributeType
[src]
impl<'a> FromValueOptional<'a> for AttributeType
[src]pub unsafe fn from_value_optional(value: &Value) -> Option<AttributeType>
[src]
impl Hash for AttributeType
[src]
impl Hash for AttributeType
[src]impl Ord for AttributeType
[src]
impl Ord for AttributeType
[src]impl PartialEq<AttributeType> for AttributeType
[src]
impl PartialEq<AttributeType> for AttributeType
[src]pub fn eq(&self, other: &AttributeType) -> bool
[src]
pub fn ne(&self, other: &AttributeType) -> bool
[src]
impl PartialOrd<AttributeType> for AttributeType
[src]
impl PartialOrd<AttributeType> for AttributeType
[src]pub fn partial_cmp(&self, other: &AttributeType) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl SetValue for AttributeType
[src]
impl SetValue for AttributeType
[src]pub unsafe fn set_value(value: &mut Value, this: &AttributeType)
[src]
impl StaticType for AttributeType
[src]
impl StaticType for AttributeType
[src]pub fn static_type() -> Type
[src]
impl StructuralEq for AttributeType
[src]
impl StructuralEq for AttributeType
[src]impl StructuralPartialEq for AttributeType
[src]
impl StructuralPartialEq for AttributeType
[src]Auto Trait Implementations
impl RefUnwindSafe for AttributeType
impl RefUnwindSafe for AttributeType
impl Send for AttributeType
impl Send for AttributeType
impl Sync for AttributeType
impl Sync for AttributeType
impl Unpin for AttributeType
impl Unpin for AttributeType
impl UnwindSafe for AttributeType
impl UnwindSafe for AttributeType
Blanket Implementations
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
[src]
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
[src]pub fn into_color(self) -> To
[src]
impl<T> ToSendValue for T where
T: SetValue + Send + ToValue + ?Sized,
[src]
impl<T> ToSendValue for T where
T: SetValue + Send + ToValue + ?Sized,
[src]pub fn to_send_value(&self) -> SendValue
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,