Enum cogl::PipelineCullFaceMode[][src]

#[non_exhaustive]
pub enum PipelineCullFaceMode {
    None,
    Front,
    Back,
    Both,
    // some variants omitted
}

Specifies which faces should be culled. This can be set on a pipeline using Pipeline::set_cull_face_mode.

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.
None

Neither face will be culled. This is the default.

Front

Front faces will be culled.

Back

Back faces will be culled.

Both

All faces will be culled.

Trait Implementations

impl Clone for PipelineCullFaceMode[src]

impl Copy for PipelineCullFaceMode[src]

impl Debug for PipelineCullFaceMode[src]

impl Display for PipelineCullFaceMode[src]

impl Eq for PipelineCullFaceMode[src]

impl Hash for PipelineCullFaceMode[src]

impl Ord for PipelineCullFaceMode[src]

impl PartialEq<PipelineCullFaceMode> for PipelineCullFaceMode[src]

impl PartialOrd<PipelineCullFaceMode> for PipelineCullFaceMode[src]

impl StructuralEq for PipelineCullFaceMode[src]

impl StructuralPartialEq for PipelineCullFaceMode[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.