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