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