Struct abscissa_core::component::Handle[][src]

pub struct Handle { /* fields omitted */ }

Component handles are references to components which have been registered with a component::Registry.

However, unlike normal Rust references, component handles are a "weak" reference which is not checked by the borrow checker. This allows for complex reference graphs which are otherwise inexpressible in Rust.

Implementations

impl Handle[src]

pub fn id(self) -> Id[src]

Get the identifier of the component this handle points to

Trait Implementations

impl Clone for Handle[src]

impl Copy for Handle[src]

impl Debug for Handle[src]

impl Eq for Handle[src]

impl Ord for Handle[src]

impl PartialEq<Handle> for Handle[src]

impl PartialOrd<Handle> for Handle[src]

impl StructuralEq for Handle[src]

impl StructuralPartialEq for Handle[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.