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
Source§fn clone(&self) -> DepthState
fn clone(&self) -> DepthState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl 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
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for DepthState
Auto Trait Implementations§
impl Forget for DepthState
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