Struct gdnative::api::geometry_instance::LightmapScale
pub struct LightmapScale(pub i64);
Tuple Fields§
§0: i64
Implementations§
§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§
§impl Clone for LightmapScale
impl Clone for LightmapScale
§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 more§impl Debug for LightmapScale
impl Debug for LightmapScale
§impl From<i64> for LightmapScale
impl From<i64> for LightmapScale
§fn from(v: i64) -> LightmapScale
fn from(v: i64) -> LightmapScale
Converts to this type from the input type.
§impl FromVariant for LightmapScale
impl FromVariant for LightmapScale
fn from_variant(v: &Variant) -> Result<LightmapScale, FromVariantError>
§impl Hash for LightmapScale
impl Hash for LightmapScale
§impl Ord for LightmapScale
impl Ord for LightmapScale
§impl PartialEq for LightmapScale
impl PartialEq for LightmapScale
§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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.