Enum ux::prelude::dx::VerticesMode [−][src]
#[non_exhaustive] pub enum VerticesMode { Points, Lines, LineLoop, LineStrip, Triangles, TriangleStrip, TriangleFan, // some variants omitted }
Different ways of interpreting vertices when drawing.
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.
FIXME, equivalent to
<constant>
GL_POINTS</constant>
FIXME, equivalent to <constant>
GL_LINES</constant>
FIXME, equivalent to
<constant>
GL_LINE_LOOP</constant>
FIXME, equivalent to
<constant>
GL_LINE_STRIP</constant>
FIXME, equivalent to
<constant>
GL_TRIANGLES</constant>
FIXME, equivalent to
<constant>
GL_TRIANGLE_STRIP</constant>
FIXME, equivalent to <constant>
GL_TRIANGLE_FAN</constant>
Trait Implementations
impl Clone for VerticesMode
[src]
impl Clone for VerticesMode
[src]pub fn clone(&self) -> VerticesMode
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for VerticesMode
[src]
impl Copy for VerticesMode
[src]impl Display for VerticesMode
[src]
impl Display for VerticesMode
[src]impl Eq for VerticesMode
[src]
impl Eq for VerticesMode
[src]impl<'a> FromValue<'a> for VerticesMode
[src]
impl<'a> FromValue<'a> for VerticesMode
[src]pub unsafe fn from_value(value: &Value) -> VerticesMode
[src]
impl<'a> FromValueOptional<'a> for VerticesMode
[src]
impl<'a> FromValueOptional<'a> for VerticesMode
[src]pub unsafe fn from_value_optional(value: &Value) -> Option<VerticesMode>
[src]
impl Hash for VerticesMode
[src]
impl Hash for VerticesMode
[src]impl Ord for VerticesMode
[src]
impl Ord for VerticesMode
[src]impl PartialEq<VerticesMode> for VerticesMode
[src]
impl PartialEq<VerticesMode> for VerticesMode
[src]pub fn eq(&self, other: &VerticesMode) -> bool
[src]
pub fn ne(&self, other: &VerticesMode) -> bool
[src]
impl PartialOrd<VerticesMode> for VerticesMode
[src]
impl PartialOrd<VerticesMode> for VerticesMode
[src]pub fn partial_cmp(&self, other: &VerticesMode) -> 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 VerticesMode
[src]
impl SetValue for VerticesMode
[src]pub unsafe fn set_value(value: &mut Value, this: &VerticesMode)
[src]
impl StaticType for VerticesMode
[src]
impl StaticType for VerticesMode
[src]pub fn static_type() -> Type
[src]
impl StructuralEq for VerticesMode
[src]
impl StructuralEq for VerticesMode
[src]impl StructuralPartialEq for VerticesMode
[src]
impl StructuralPartialEq for VerticesMode
[src]Auto Trait Implementations
impl RefUnwindSafe for VerticesMode
impl RefUnwindSafe for VerticesMode
impl Send for VerticesMode
impl Send for VerticesMode
impl Sync for VerticesMode
impl Sync for VerticesMode
impl Unpin for VerticesMode
impl Unpin for VerticesMode
impl UnwindSafe for VerticesMode
impl UnwindSafe for VerticesMode
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>,