[−][src]Struct yew_router::agent::RouteAgentBridge
A wrapped bridge to the route agent.
A component that owns this can send and receive messages from the agent.
Implementations
impl<STATE> RouteAgentBridge<STATE> where
STATE: RouteState,
[src]
STATE: RouteState,
pub fn new(callback: Callback<Route<STATE>>) -> Self
[src]
Creates a new bridge.
pub fn spawn(callback: Callback<Route<STATE>>) -> Self
[src]
Experimental, may be removed
Directly spawn a new Router
Methods from Deref<Target = Box<dyn Bridge<RouteAgent<STATE>>>>
Trait Implementations
impl<STATE: RouteState> Debug for RouteAgentBridge<STATE>
[src]
impl<STATE: RouteState> Deref for RouteAgentBridge<STATE>
[src]
type Target = Box<dyn Bridge<RouteAgent<STATE>>>
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
impl<STATE: RouteState> DerefMut for RouteAgentBridge<STATE>
[src]
Auto Trait Implementations
impl<STATE = ()> !RefUnwindSafe for RouteAgentBridge<STATE>
impl<STATE = ()> !Send for RouteAgentBridge<STATE>
impl<STATE = ()> !Sync for RouteAgentBridge<STATE>
impl<STATE> Unpin for RouteAgentBridge<STATE>
impl<STATE = ()> !UnwindSafe for RouteAgentBridge<STATE>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,