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 copy 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 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<LightmapScale> for LightmapScale
impl PartialEq<LightmapScale> for LightmapScale
source§fn eq(&self, other: &LightmapScale) -> bool
fn eq(&self, other: &LightmapScale) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<LightmapScale> for LightmapScale
impl PartialOrd<LightmapScale> for LightmapScale
source§fn partial_cmp(&self, other: &LightmapScale) -> Option<Ordering>
fn partial_cmp(&self, other: &LightmapScale) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for LightmapScale
impl Eq for LightmapScale
impl StructuralEq for LightmapScale
impl StructuralPartialEq for LightmapScale
Auto Trait Implementations§
impl RefUnwindSafe for LightmapScale
impl Send for LightmapScale
impl Sync for LightmapScale
impl Unpin for LightmapScale
impl UnwindSafe for LightmapScale
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.