pub struct Chip {
pub label: String,
pub variant: ChipVariant,
pub size: ChipSize,
pub removable: bool,
pub icon: String,
}Fields§
§label: String§variant: ChipVariant§size: ChipSize§removable: bool§icon: StringImplementations§
Trait Implementations§
impl StructuralPartialEq for Chip
Auto Trait Implementations§
impl Freeze for Chip
impl RefUnwindSafe for Chip
impl Send for Chip
impl Sync for Chip
impl Unpin for Chip
impl UnwindSafe for Chip
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