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