pub struct BreadcrumbItem<'a> {
pub label: &'a str,
pub href: Option<&'a str>,
pub current: bool,
}Fields§
§label: &'a str§href: Option<&'a str>§current: boolImplementations§
Trait Implementations§
Source§impl<'a> Clone for BreadcrumbItem<'a>
impl<'a> Clone for BreadcrumbItem<'a>
Source§fn clone(&self) -> BreadcrumbItem<'a>
fn clone(&self) -> BreadcrumbItem<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for BreadcrumbItem<'a>
impl<'a> Debug for BreadcrumbItem<'a>
Source§impl<'a> PartialEq for BreadcrumbItem<'a>
impl<'a> PartialEq for BreadcrumbItem<'a>
Source§fn eq(&self, other: &BreadcrumbItem<'a>) -> bool
fn eq(&self, other: &BreadcrumbItem<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> Copy for BreadcrumbItem<'a>
impl<'a> Eq for BreadcrumbItem<'a>
impl<'a> StructuralPartialEq for BreadcrumbItem<'a>
Auto Trait Implementations§
impl<'a> Freeze for BreadcrumbItem<'a>
impl<'a> RefUnwindSafe for BreadcrumbItem<'a>
impl<'a> Send for BreadcrumbItem<'a>
impl<'a> Sync for BreadcrumbItem<'a>
impl<'a> Unpin for BreadcrumbItem<'a>
impl<'a> UnsafeUnpin for BreadcrumbItem<'a>
impl<'a> UnwindSafe for BreadcrumbItem<'a>
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