pub struct Crumb {
pub id: String,
pub label: Option<String>,
pub icon: Option<Icon>,
pub href: Option<String>,
}Expand description
A crumb of a breadcrumb.
Fields§
§id: StringIdentity: the select event’s item.
label: Option<String>The text (default the id).
icon: Option<Icon>An icon before the label.
href: Option<String>A URL or path ⌘-click opens.
Implementations§
Trait Implementations§
impl Eq for Crumb
impl StructuralPartialEq for Crumb
Auto Trait Implementations§
impl Freeze for Crumb
impl RefUnwindSafe for Crumb
impl Send for Crumb
impl Sync for Crumb
impl Unpin for Crumb
impl UnsafeUnpin for Crumb
impl UnwindSafe for Crumb
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.