pub struct DepthState {
pub test: Compare,
pub write: bool,
}Expand description
Depth test and write.
Fields§
§test: CompareThe depth comparison a fragment must pass.
write: boolWhether a passing fragment writes its depth.
Trait Implementations§
Source§impl Clone for DepthState
impl Clone for DepthState
impl Copy for DepthState
Source§impl Debug for DepthState
impl Debug for DepthState
impl Eq for DepthState
Source§impl Hash for DepthState
impl Hash for DepthState
Source§impl PartialEq for DepthState
impl PartialEq for DepthState
Source§impl Serialize for DepthState
impl Serialize for DepthState
impl StructuralPartialEq for DepthState
Auto Trait Implementations§
impl Freeze for DepthState
impl RefUnwindSafe for DepthState
impl Send for DepthState
impl Sync for DepthState
impl Unpin for DepthState
impl UnsafeUnpin for DepthState
impl UnwindSafe for DepthState
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