pub struct BadgeProps<'__a> {
pub variant: BadgeVariant,
pub attrs: Attributes,
pub child: Child<'__a>,
}Expand description
A <span> badge.
Fields§
§variant: BadgeVariant§attrs: Attributes§child: Child<'__a>Implementations§
Source§impl<'__a> BadgeProps<'__a>
impl<'__a> BadgeProps<'__a>
Sourcepub fn builder() -> BadgePropsBuilder<'__a>
pub fn builder() -> BadgePropsBuilder<'__a>
Returns a BadgePropsBuilder with no properties set.
Trait Implementations§
Source§impl<'__a> Props for BadgeProps<'__a>
impl<'__a> Props for BadgeProps<'__a>
Auto Trait Implementations§
impl<'__a> !RefUnwindSafe for BadgeProps<'__a>
impl<'__a> !Sync for BadgeProps<'__a>
impl<'__a> !UnwindSafe for BadgeProps<'__a>
impl<'__a> Freeze for BadgeProps<'__a>
impl<'__a> Send for BadgeProps<'__a>
impl<'__a> Unpin for BadgeProps<'__a>
impl<'__a> UnsafeUnpin for BadgeProps<'__a>
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