pub struct StripItem {
pub id: String,
pub label: String,
pub on: Option<bool>,
pub dot: Option<String>,
}Expand description
A switch chip of a picker strip.
Fields§
§id: StringChip id.
label: StringLabel.
on: Option<bool>Checked.
dot: Option<String>Dot palette name.
Trait Implementations§
impl Eq for StripItem
impl StructuralPartialEq for StripItem
Auto Trait Implementations§
impl Freeze for StripItem
impl RefUnwindSafe for StripItem
impl Send for StripItem
impl Sync for StripItem
impl Unpin for StripItem
impl UnsafeUnpin for StripItem
impl UnwindSafe for StripItem
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