Struct abscissa_core::application::State[][src]

pub struct State<A: Application + 'static> { /* fields omitted */ }

Framework-managed application state

Implementations

impl<A> State<A> where
    A: Application + 'static, 
[src]

pub fn components(&self) -> Reader<'_, A>[src]

Obtain a read-only lock on the component registry.

pub fn components_mut(&self) -> Writer<'_, A>[src]

Obtain a mutable lock on the component registry.

pub fn paths(&self) -> &A::Paths[src]

Borrow the application paths.

pub fn threads(&self) -> Reader<'_>[src]

Obtain a read-only lock on the thread manager.

pub fn threads_mut(&self) -> Writer<'_>[src]

Obtain a mutable lock on the component registry.

Trait Implementations

impl<A: Debug + Application + 'static> Debug for State<A> where
    A::Paths: Debug
[src]

impl<A: Default + Application + 'static> Default for State<A> where
    A::Paths: Default
[src]

Auto Trait Implementations

impl<A> RefUnwindSafe for State<A> where
    <A as Application>::Paths: RefUnwindSafe
[src]

impl<A> Send for State<A> where
    <A as Application>::Paths: Send
[src]

impl<A> Sync for State<A> where
    <A as Application>::Paths: Sync
[src]

impl<A> Unpin for State<A> where
    <A as Application>::Paths: Unpin
[src]

impl<A> UnwindSafe for State<A> where
    <A as Application>::Paths: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> AsAny for T where
    T: Any
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<D> OwoColorize for D

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.