pub struct toast_close { /* private fields */ }Expand description
Renders the close control: a checkbox whose checked state hides its toast.
Trait Implementations§
Source§impl Component for toast_close
impl Component for toast_close
Source§type Props<'__props> = ToastCloseProps
type Props<'__props> = ToastCloseProps
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,
Renders the component to a [
View]. Read morefn props_builder<'a>() -> <Self::Props<'a> as Props>::Builder
Auto Trait Implementations§
impl Freeze for toast_close
impl RefUnwindSafe for toast_close
impl Send for toast_close
impl Sync for toast_close
impl Unpin for toast_close
impl UnsafeUnpin for toast_close
impl UnwindSafe for toast_close
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