pub struct live_toaster;Expand description
Reads the page’s LiveToast signals and mounts the toast in place when one
is set.
Trait Implementations§
Source§impl Component for live_toaster
impl Component for live_toaster
Source§type Props<'__props> = LiveToasterProps
type Props<'__props> = LiveToasterProps
The component’s properties. The lifetime covers data borrowed from
the caller.
Source§fn render<'__a, '__props>(
self,
cx: &'__a Cx,
props: Self::Props<'__props>,
) -> impl Future<Output = Result<impl View>> + Send + '__awhere
Self: '__a,
Self::Props<'__props>: '__a,
'__props: '__a,
fn render<'__a, '__props>(
self,
cx: &'__a Cx,
props: Self::Props<'__props>,
) -> impl Future<Output = Result<impl View>> + Send + '__awhere
Self: '__a,
Self::Props<'__props>: '__a,
'__props: '__a,
fn props_builder<'a>() -> <Self::Props<'a> as Props>::Builder
Source§impl Default for live_toaster
impl Default for live_toaster
Source§impl Route for live_toaster
impl Route for live_toaster
Auto Trait Implementations§
impl Freeze for live_toaster
impl RefUnwindSafe for live_toaster
impl Send for live_toaster
impl Sync for live_toaster
impl Unpin for live_toaster
impl UnsafeUnpin for live_toaster
impl UnwindSafe for live_toaster
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more