pub struct SortableStatus {
pub label: String,
pub tone: BadgeTone,
}Expand description
A trailing status pill on a SortableItem.
Fields§
§label: StringPill text — kept lower-case to match the design language.
tone: BadgeToneTone used for the pill’s dot, border and text colours.
Trait Implementations§
Source§impl Clone for SortableStatus
impl Clone for SortableStatus
Source§fn clone(&self) -> SortableStatus
fn clone(&self) -> SortableStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SortableStatus
impl RefUnwindSafe for SortableStatus
impl Send for SortableStatus
impl Sync for SortableStatus
impl Unpin for SortableStatus
impl UnsafeUnpin for SortableStatus
impl UnwindSafe for SortableStatus
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