pub struct Scope {
pub id: String,
pub label: String,
pub group: Option<String>,
pub mark: Option<Value>,
pub icon: Option<Icon>,
pub dot: Option<Tone>,
pub count: Option<u64>,
pub disabled: Option<Value>,
}Expand description
A picker scope.
Fields§
§id: StringScope id.
label: StringLabel.
group: Option<String>Group header.
mark: Option<Value>Initials avatar {text, seed?}.
icon: Option<Icon>Icon.
dot: Option<Tone>Status dot.
count: Option<u64>Count.
disabled: Option<Value>true or a reason.
Trait Implementations§
impl Eq for Scope
impl StructuralPartialEq for Scope
Auto Trait Implementations§
impl Freeze for Scope
impl RefUnwindSafe for Scope
impl Send for Scope
impl Sync for Scope
impl Unpin for Scope
impl UnsafeUnpin for Scope
impl UnwindSafe for Scope
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