Struct intuitive::components::experimental::scroll::Scroll
source · pub struct Scroll {
pub title: Spans,
pub border: Style,
pub text: Spans,
pub on_key: KeyHandler,
}
Available on crate feature
experimental
only.Expand description
A component that displays text along with a scrollbar.
Scroll
renders the Spans
passed into it along with a scrollbar.
Fields§
§title: Spans
§border: Style
§text: Spans
§on_key: KeyHandler
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Scroll
impl Send for Scroll
impl Sync for Scroll
impl Unpin for Scroll
impl !UnwindSafe for Scroll
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