pub struct ToastCloseProps {
pub label: String,
pub attrs: Attributes,
}Expand description
Renders the close control: a checkbox whose checked state hides its toast.
Fields§
§label: StringThe checkbox’s accessible name, such as "Close".
attrs: AttributesImplementations§
Source§impl ToastCloseProps
impl ToastCloseProps
Sourcepub fn builder() -> ToastClosePropsBuilder<label>
pub fn builder() -> ToastClosePropsBuilder<label>
Returns a ToastClosePropsBuilder with no properties set.
Trait Implementations§
Source§impl Props for ToastCloseProps
impl Props for ToastCloseProps
Auto Trait Implementations§
impl Freeze for ToastCloseProps
impl RefUnwindSafe for ToastCloseProps
impl Send for ToastCloseProps
impl Sync for ToastCloseProps
impl Unpin for ToastCloseProps
impl UnsafeUnpin for ToastCloseProps
impl UnwindSafe for ToastCloseProps
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