pub struct Scrollable { /* private fields */ }Expand description
Builder for the scrollable preset layout.
NIRI-style scrolling: shows two panels side by side, filling the viewport.
The active index is the focused panel. The window position is derived
so that the focused panel is always visible.
Implementations§
Source§impl Scrollable
impl Scrollable
Source§impl Scrollable
impl Scrollable
Sourcepub fn into_runtime(self) -> Result<LayoutRuntime, PaneError>
pub fn into_runtime(self) -> Result<LayoutRuntime, PaneError>
Consume the builder and produce a crate::runtime::LayoutRuntime.
Source§impl Scrollable
impl Scrollable
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Scrollable
impl RefUnwindSafe for Scrollable
impl Send for Scrollable
impl Sync for Scrollable
impl Unpin for Scrollable
impl UnsafeUnpin for Scrollable
impl UnwindSafe for Scrollable
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