pub struct AlphaCutMode(pub i64);Tuple Fields§
§0: i64Implementations§
Source§impl AlphaCutMode
impl AlphaCutMode
pub const DISABLED: AlphaCutMode
pub const DISCARD: AlphaCutMode
pub const OPAQUE_PREPASS: AlphaCutMode
Trait Implementations§
Source§impl Clone for AlphaCutMode
impl Clone for AlphaCutMode
Source§fn clone(&self) -> AlphaCutMode
fn clone(&self) -> AlphaCutMode
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 AlphaCutMode
impl Debug for AlphaCutMode
Source§impl From<AlphaCutMode> for i64
impl From<AlphaCutMode> for i64
Source§fn from(v: AlphaCutMode) -> Self
fn from(v: AlphaCutMode) -> Self
Converts to this type from the input type.
Source§impl From<i64> for AlphaCutMode
impl From<i64> for AlphaCutMode
Source§impl FromVariant for AlphaCutMode
impl FromVariant for AlphaCutMode
fn from_variant(v: &Variant) -> Result<Self, FromVariantError>
Source§impl Hash for AlphaCutMode
impl Hash for AlphaCutMode
Source§impl Ord for AlphaCutMode
impl Ord for AlphaCutMode
Source§fn cmp(&self, other: &AlphaCutMode) -> Ordering
fn cmp(&self, other: &AlphaCutMode) -> 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 AlphaCutMode
impl PartialEq for AlphaCutMode
Source§impl PartialOrd for AlphaCutMode
impl PartialOrd for AlphaCutMode
impl Copy for AlphaCutMode
impl Eq for AlphaCutMode
impl StructuralPartialEq for AlphaCutMode
Auto Trait Implementations§
impl Freeze for AlphaCutMode
impl RefUnwindSafe for AlphaCutMode
impl Send for AlphaCutMode
impl Sync for AlphaCutMode
impl Unpin for AlphaCutMode
impl UnwindSafe for AlphaCutMode
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.