Struct intuicio_data::lifetime::LifetimeState
source · pub struct LifetimeState { /* private fields */ }Implementations§
source§impl LifetimeState
impl LifetimeState
pub fn can_read(&self) -> bool
pub fn can_write(&self) -> bool
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§
source§impl Clone for LifetimeState
impl Clone for LifetimeState
source§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 moresource§impl Default for LifetimeState
impl Default for LifetimeState
source§fn default() -> LifetimeState
fn default() -> LifetimeState
Returns the “default value” for a type. Read more