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

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

Depth test state.

Fields

Comparison function to use.

Specify whether to write to the depth buffer or not.

Trait Implementations

impl Ord for Depth
[src]

[src]

impl Copy for Depth
[src]

impl Hash for Depth
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Clone for Depth
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for Depth
[src]

impl PartialEq<Depth> for Depth
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Debug for Depth
[src]

[src]

Formats the value using the given formatter.

impl Default for Depth
[src]

[src]

Returns the "default value" for a type. Read more

impl PartialOrd<Depth> for Depth
[src]

[src]

[src]

[src]

[src]

[src]