pub struct DepthDrawMode(pub i64);
Tuple Fields§
§0: i64
Implementations§
Source§impl DepthDrawMode
impl DepthDrawMode
pub const OPAQUE_ONLY: DepthDrawMode
pub const ALWAYS: DepthDrawMode
pub const DISABLED: DepthDrawMode
pub const ALPHA_OPAQUE_PREPASS: DepthDrawMode
Trait Implementations§
Source§impl Clone for DepthDrawMode
impl Clone for DepthDrawMode
Source§fn clone(&self) -> DepthDrawMode
fn clone(&self) -> DepthDrawMode
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 DepthDrawMode
impl Debug for DepthDrawMode
Source§impl From<DepthDrawMode> for i64
impl From<DepthDrawMode> for i64
Source§fn from(v: DepthDrawMode) -> Self
fn from(v: DepthDrawMode) -> Self
Converts to this type from the input type.
Source§impl From<i64> for DepthDrawMode
impl From<i64> for DepthDrawMode
Source§impl FromVariant for DepthDrawMode
impl FromVariant for DepthDrawMode
fn from_variant(v: &Variant) -> Result<Self, FromVariantError>
Source§impl Hash for DepthDrawMode
impl Hash for DepthDrawMode
Source§impl Ord for DepthDrawMode
impl Ord for DepthDrawMode
Source§fn cmp(&self, other: &DepthDrawMode) -> Ordering
fn cmp(&self, other: &DepthDrawMode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DepthDrawMode
impl PartialEq for DepthDrawMode
Source§impl PartialOrd for DepthDrawMode
impl PartialOrd for DepthDrawMode
impl Copy for DepthDrawMode
impl Eq for DepthDrawMode
impl StructuralPartialEq for DepthDrawMode
Auto Trait Implementations§
impl Freeze for DepthDrawMode
impl RefUnwindSafe for DepthDrawMode
impl Send for DepthDrawMode
impl Sync for DepthDrawMode
impl Unpin for DepthDrawMode
impl UnwindSafe for DepthDrawMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.