Struct oxygengine::core::scripting::intuicio::data::prelude::LifetimeState
pub struct LifetimeState { /* private fields */ }
Implementations§
§impl LifetimeState
impl LifetimeState
pub fn can_read(&self) -> bool
pub fn can_write(&self, id: usize) -> bool
pub fn writer_depth(&self) -> usize
pub fn is_read_accessible(&self) -> bool
pub fn is_write_accessible(&self) -> bool
pub fn is_in_use(&self) -> bool
pub fn is_locked(&self) -> bool
pub fn try_lock(&self) -> Option<LifetimeStateAccess<'_>>
pub fn lock(&self) -> LifetimeStateAccess<'_>
pub fn lock_unchecked(&self) -> LifetimeStateAccess<'_>
pub fn downgrade(&self) -> LifetimeWeakState
Trait Implementations§
§impl Clone for LifetimeState
impl Clone for LifetimeState
§fn clone(&self) -> LifetimeState
fn clone(&self) -> LifetimeState
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 Default for LifetimeState
impl Default for LifetimeState
§fn default() -> LifetimeState
fn default() -> LifetimeState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for LifetimeState
impl Send for LifetimeState
impl Sync for LifetimeState
impl Unpin for LifetimeState
impl UnwindSafe for LifetimeState
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