Struct oxygengine_core::ecs::components::NonPersistent
source · pub struct NonPersistent(pub StateToken);
Tuple Fields§
§0: StateToken
Trait Implementations§
source§impl Clone for NonPersistent
impl Clone for NonPersistent
source§fn clone(&self) -> NonPersistent
fn clone(&self) -> NonPersistent
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 NonPersistent
impl Debug for NonPersistent
source§impl Default for NonPersistent
impl Default for NonPersistent
source§fn default() -> NonPersistent
fn default() -> NonPersistent
Returns the “default value” for a type. Read more
source§impl PrefabProxy<NonPersistentPrefabProxy> for NonPersistent
impl PrefabProxy<NonPersistentPrefabProxy> for NonPersistent
fn from_proxy_with_extras( _: NonPersistentPrefabProxy, _: &HashMap<String, Entity>, state_token: StateToken ) -> Result<Self, PrefabError>
Auto Trait Implementations§
impl RefUnwindSafe for NonPersistent
impl Send for NonPersistent
impl Sync for NonPersistent
impl Unpin for NonPersistent
impl UnwindSafe for NonPersistent
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<T> Initialize for Twhere
T: Default,
impl<T> Initialize for Twhere T: Default,
fn initialize(&mut self)
§unsafe fn initialize_raw(data: *mut ())
unsafe fn initialize_raw(data: *mut ())
Safety Read more