[][src]Struct yew_router::agent::RouteAgentDispatcher

pub struct RouteAgentDispatcher<T>(_)
where
    T: AgentState<'de>
;

A wrapped dispatcher to the route agent.

A component that owns and instance of this can send messages to the RouteAgent, but not receive them.

Methods

impl<T> RouteAgentDispatcher<T> where
    T: AgentState<'de>, 
[src]

pub fn new() -> Self[src]

Creates a new bridge.

Trait Implementations

impl<T> Default for RouteAgentDispatcher<T> where
    T: AgentState<'de>, 
[src]

impl<T: for<'de> AgentState<'de>> Debug for RouteAgentDispatcher<T>[src]

impl<T: for<'de> AgentState<'de>> Deref for RouteAgentDispatcher<T>[src]

type Target = Dispatcher<RouteAgent<T>>

The resulting type after dereferencing.

impl<T: for<'de> AgentState<'de>> DerefMut for RouteAgentDispatcher<T>[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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

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.

impl<T> Any for T where
    T: Any