pub struct Breadcrumbs { /* private fields */ }Expand description
A non-interactive breadcrumbs trail.
Renders as Home > Settings > Account where the last item is bold and
uses the primary text color, earlier items use the secondary text color,
and the separator uses the default border color.
Implementations§
Trait Implementations§
Source§impl Component for Breadcrumbs
impl Component for Breadcrumbs
Source§fn render(&self, _width: u16) -> Result<Rendered, RenderError>
fn render(&self, _width: u16) -> Result<Rendered, RenderError>
Render this component into lines of text at the given width. Read more
Source§fn render_rect(&self, rect: Rect) -> Result<Rendered, RenderError>
fn render_rect(&self, rect: Rect) -> Result<Rendered, RenderError>
Render this component into a specific rectangular area. Read more
Source§fn handle_input(&mut self, _event: &Event) -> InputResult
fn handle_input(&mut self, _event: &Event) -> InputResult
Handle an input event (key press, resize, mouse, etc.). Read more
Source§fn wants_key_release(&self) -> bool
fn wants_key_release(&self) -> bool
Returns
true if this component wants to receive
KeyEventKind::Release events in addition to Press / Repeat. Read moreAuto Trait Implementations§
impl Freeze for Breadcrumbs
impl RefUnwindSafe for Breadcrumbs
impl Send for Breadcrumbs
impl Sync for Breadcrumbs
impl Unpin for Breadcrumbs
impl UnsafeUnpin for Breadcrumbs
impl UnwindSafe for Breadcrumbs
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