pub enum OffFlag {
Inactive(i64),
Disabled(i64),
}Expand description
A stored “off” between an object and being drawn or used: a GameObject on its Transform chain stored inactive
(m_IsActive), or the component itself stored disabled (m_Enabled); path ids in the scene’s file.
Variants§
Inactive(i64)
The GameObject (path id) is stored inactive.
Disabled(i64)
The component (path id) is stored disabled.
Trait Implementations§
impl Copy for OffFlag
impl Eq for OffFlag
Source§impl Ord for OffFlag
impl Ord for OffFlag
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for OffFlag
impl PartialOrd for OffFlag
impl StructuralPartialEq for OffFlag
Auto Trait Implementations§
impl Freeze for OffFlag
impl RefUnwindSafe for OffFlag
impl Send for OffFlag
impl Sync for OffFlag
impl Unpin for OffFlag
impl UnsafeUnpin for OffFlag
impl UnwindSafe for OffFlag
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.