[][src]Struct spair::Context

pub struct Context<'a, C> {
    pub element: ElementUpdater<'a, C>,
    pub comp: &'a Comp<C>,
}

Fields

element: ElementUpdater<'a, C>comp: &'a Comp<C>

Methods

impl<'a, C> Context<'a, C>[src]

pub fn new(comp: &'a Comp<C>, element: ElementUpdater<'a, C>) -> Self[src]

pub fn into_parts(self) -> (&'a Comp<C>, ElementUpdater<'a, C>)[src]

Auto Trait Implementations

impl<'a, C> !RefUnwindSafe for Context<'a, C>

impl<'a, C> !Send for Context<'a, C>

impl<'a, C> !Sync for Context<'a, C>

impl<'a, C> Unpin for Context<'a, C>

impl<'a, C> !UnwindSafe for Context<'a, C>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[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, U> Into<U> for T where
    U: From<T>, 
[src]

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.