Enum ux::prelude::dx::Winding [−][src]
#[non_exhaustive] pub enum Winding { Clockwise, CounterClockwise, // some variants omitted }
Enum used to represent the two directions of rotation. This can be
used to set the front face for culling by calling
Pipeline::set_front_face_winding
.
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.
Vertices are in a clockwise order
Vertices are in a counter-clockwise order
Trait Implementations
impl<'a> FromValueOptional<'a> for Winding
[src]
impl<'a> FromValueOptional<'a> for Winding
[src]pub unsafe fn from_value_optional(value: &Value) -> Option<Winding>
[src]
impl PartialOrd<Winding> for Winding
[src]
impl PartialOrd<Winding> for Winding
[src]impl StaticType for Winding
[src]
impl StaticType for Winding
[src]pub fn static_type() -> Type
[src]
impl StructuralEq for Winding
[src]
impl StructuralEq for Winding
[src]impl StructuralPartialEq for Winding
[src]
impl StructuralPartialEq for Winding
[src]Auto Trait Implementations
impl RefUnwindSafe for Winding
impl RefUnwindSafe for Winding
impl UnwindSafe for Winding
impl UnwindSafe for Winding
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>,