pub struct DepthState {
pub function: DepthFunction,
pub range: RangeInclusive<ClampedF32>,
pub write_mask: bool,
}Fields§
§function: DepthFunction§range: RangeInclusive<ClampedF32>§write_mask: boolTrait Implementations§
Source§impl Clone for DepthState
impl Clone for DepthState
Source§fn clone(&self) -> DepthState
fn clone(&self) -> DepthState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DepthState
impl Debug for DepthState
Source§impl Default for DepthState
impl Default for DepthState
Source§impl PartialEq for DepthState
impl PartialEq for DepthState
impl Eq 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 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