#[repr(transparent)]pub struct HideFlags(pub i32);Expand description
UnityEngine.HideFlags. HIDE_AND_DONT_SAVE keeps a runtime-created
object (e.g. a Material) from being destroyed on scene load.
Tuple Fields§
§0: i32The raw HideFlags value.
Implementations§
Source§impl HideFlags
impl HideFlags
Sourcepub const DONT_UNLOAD_UNUSED_ASSET: Self
pub const DONT_UNLOAD_UNUSED_ASSET: Self
Not unloaded by Resources.UnloadUnusedAssets.
HideFlags value 32.
Sourcepub const HIDE_AND_DONT_SAVE: Self
pub const HIDE_AND_DONT_SAVE: Self
Hidden, never saved, and not unloaded on scene load; the owner must destroy it.
HideFlags value 61.
Trait Implementations§
impl Copy for HideFlags
impl Eq for HideFlags
Source§impl Il2CppValue for HideFlags
impl Il2CppValue for HideFlags
impl StructuralPartialEq for HideFlags
Auto Trait Implementations§
impl Forget for HideFlags
impl Freeze for HideFlags
impl Move for HideFlags
impl RefUnwindSafe for HideFlags
impl Send for HideFlags
impl Sync for HideFlags
impl Unpin for HideFlags
impl UnsafeUnpin for HideFlags
impl UnwindSafe for HideFlags
Blanket Implementations§
impl<T> AsId for T
impl<T> AsIdSalt for T
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> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more