Enum cursive::view::ScrollStrategy
source · [−]pub enum ScrollStrategy {
KeepRow,
StickToTop,
StickToBottom,
}
Expand description
Defines the scrolling behaviour on content or size change
Variants
KeepRow
Keeps the same row number
StickToTop
Sticks to the top.
StickToBottom
Sticks to the bottom of the view.
Trait Implementations
sourceimpl Debug for ScrollStrategy
impl Debug for ScrollStrategy
sourceimpl Default for ScrollStrategy
impl Default for ScrollStrategy
sourcefn default() -> ScrollStrategy
fn default() -> ScrollStrategy
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ScrollStrategy
impl Send for ScrollStrategy
impl Sync for ScrollStrategy
impl Unpin for ScrollStrategy
impl UnwindSafe for ScrollStrategy
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more