pub struct APPLICATION { /* private fields */ }Expand description
Application state
Methods from Deref<Target = Lock<CargoMoveApp>>§
Sourcepub fn read(&'static self) -> Reader<A>
pub fn read(&'static self) -> Reader<A>
Get the global application state, acquiring a shared, read-only lock around it which permits concurrent access by multiple readers.
If the application has not yet been initialized, calls not_loaded().
Trait Implementations§
Source§impl Deref for APPLICATION
impl Deref for APPLICATION
Source§type Target = Lock<CargoMoveApp>
type Target = Lock<CargoMoveApp>
The resulting type after dereferencing.
Source§fn deref(&self) -> &Lock<CargoMoveApp>
fn deref(&self) -> &Lock<CargoMoveApp>
Dereferences the value.
impl LazyStatic for APPLICATION
Auto Trait Implementations§
impl Freeze for APPLICATION
impl RefUnwindSafe for APPLICATION
impl Send for APPLICATION
impl Sync for APPLICATION
impl Unpin for APPLICATION
impl UnsafeUnpin for APPLICATION
impl UnwindSafe for APPLICATION
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