Struct gfx::state::Depth[][src]

pub struct Depth {
    pub fun: Comparison,
    pub write: bool,
}

Depth test state.

Fields

fun: Comparison

Comparison function to use.

write: bool

Specify whether to write to the depth buffer or not.

Trait Implementations

impl Clone for Depth[src]

impl Copy for Depth[src]

impl Debug for Depth[src]

impl Default for Depth[src]

impl Eq for Depth[src]

impl Hash for Depth[src]

impl Ord for Depth[src]

impl PartialEq<Depth> for Depth[src]

impl PartialOrd<Depth> for Depth[src]

impl StructuralEq for Depth[src]

impl StructuralPartialEq for Depth[src]

Auto Trait Implementations

impl RefUnwindSafe for Depth

impl Send for Depth

impl Sync for Depth

impl Unpin for Depth

impl UnwindSafe for Depth

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