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