pub struct ShadowCastingSetting(pub i64);
Tuple Fields§
§0: i64
Implementations§
Source§impl ShadowCastingSetting
impl ShadowCastingSetting
pub const OFF: ShadowCastingSetting
pub const ON: ShadowCastingSetting
pub const DOUBLE_SIDED: ShadowCastingSetting
pub const SHADOWS_ONLY: ShadowCastingSetting
Trait Implementations§
Source§impl Clone for ShadowCastingSetting
impl Clone for ShadowCastingSetting
Source§fn clone(&self) -> ShadowCastingSetting
fn clone(&self) -> ShadowCastingSetting
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ShadowCastingSetting
impl Debug for ShadowCastingSetting
Source§impl From<ShadowCastingSetting> for i64
impl From<ShadowCastingSetting> for i64
Source§fn from(v: ShadowCastingSetting) -> Self
fn from(v: ShadowCastingSetting) -> Self
Converts to this type from the input type.
Source§impl From<i64> for ShadowCastingSetting
impl From<i64> for ShadowCastingSetting
Source§impl FromVariant for ShadowCastingSetting
impl FromVariant for ShadowCastingSetting
fn from_variant(v: &Variant) -> Result<Self, FromVariantError>
Source§impl Hash for ShadowCastingSetting
impl Hash for ShadowCastingSetting
Source§impl Ord for ShadowCastingSetting
impl Ord for ShadowCastingSetting
Source§fn cmp(&self, other: &ShadowCastingSetting) -> Ordering
fn cmp(&self, other: &ShadowCastingSetting) -> 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 ShadowCastingSetting
impl PartialEq for ShadowCastingSetting
Source§impl PartialOrd for ShadowCastingSetting
impl PartialOrd for ShadowCastingSetting
impl Copy for ShadowCastingSetting
impl Eq for ShadowCastingSetting
impl StructuralPartialEq for ShadowCastingSetting
Auto Trait Implementations§
impl Freeze for ShadowCastingSetting
impl RefUnwindSafe for ShadowCastingSetting
impl Send for ShadowCastingSetting
impl Sync for ShadowCastingSetting
impl Unpin for ShadowCastingSetting
impl UnwindSafe for ShadowCastingSetting
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.