pub enum DepthMode {
Layer {
sub_layer: u8,
write: bool,
},
Off,
Volume {
write: bool,
},
}Expand description
Depth testing mode for a draw call.
Variants§
Trait Implementations§
impl Copy for DepthMode
impl Eq for DepthMode
impl StructuralPartialEq for DepthMode
Auto Trait Implementations§
impl Forget for DepthMode
impl Freeze for DepthMode
impl Move for DepthMode
impl RefUnwindSafe for DepthMode
impl Send for DepthMode
impl Sync for DepthMode
impl Unpin for DepthMode
impl UnsafeUnpin for DepthMode
impl UnwindSafe for DepthMode
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