Struct gfx_core::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 From<Depth> for DepthStencilInfo
[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][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,