pub struct Depth {
pub fun: Comparison,
pub write: bool,
}
Expand description
Depth test state.
Fields§
§fun: Comparison
Comparison function to use.
write: bool
Specify whether to write to the depth buffer or not.
Trait Implementations§
Source§impl Ord for Depth
impl Ord for Depth
Source§impl PartialOrd for Depth
impl PartialOrd for Depth
impl Copy for Depth
impl Eq for Depth
impl StructuralPartialEq for Depth
Auto Trait Implementations§
impl Freeze for Depth
impl RefUnwindSafe for Depth
impl Send for Depth
impl Sync for Depth
impl Unpin for Depth
impl UnwindSafe for Depth
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more