pub struct AlertProps {
pub variant: AlertVariant,
pub class: Option<Cow<'static, str>>,
pub attrs: AttrMap,
pub children: Children,
}Fields§
§variant: AlertVariant§class: Option<Cow<'static, str>>§attrs: AttrMap§children: ChildrenImplementations§
Source§impl AlertProps
impl AlertProps
pub const __BASECOAT_EXTEND_FIELD: Option<&'static str>
Sourcepub fn builder() -> AlertPropsBuilder
pub fn builder() -> AlertPropsBuilder
Create a builder for this prop struct.
Trait Implementations§
Source§impl Clone for AlertProps
impl Clone for AlertProps
Source§fn clone(&self) -> AlertProps
fn clone(&self) -> AlertProps
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AlertProps
impl Debug for AlertProps
Source§impl Default for AlertProps
impl Default for AlertProps
Source§fn default() -> AlertProps
fn default() -> AlertProps
Returns the “default value” for a type. Read more
Source§impl From<AlertPropsBuilder> for AlertProps
impl From<AlertPropsBuilder> for AlertProps
Source§fn from(b: AlertPropsBuilder) -> Self
fn from(b: AlertPropsBuilder) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AlertProps
impl RefUnwindSafe for AlertProps
impl Send for AlertProps
impl Sync for AlertProps
impl Unpin for AlertProps
impl UnsafeUnpin for AlertProps
impl UnwindSafe for AlertProps
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