pub struct CopyMode { /* private fields */ }Expand description
Typed arguments for copy-mode.
Implementations§
Source§impl CopyMode
impl CopyMode
Sourcepub const fn exit_on_bottom(self, enabled: bool) -> Self
pub const fn exit_on_bottom(self, enabled: bool) -> Self
Exits when scrolling reaches the bottom.
Sourcepub const fn mouse_drag(self, enabled: bool) -> Self
pub const fn mouse_drag(self, enabled: bool) -> Self
Starts mouse drag.
Trait Implementations§
impl Eq for CopyMode
impl StructuralPartialEq for CopyMode
Auto Trait Implementations§
impl Freeze for CopyMode
impl RefUnwindSafe for CopyMode
impl Send for CopyMode
impl Sync for CopyMode
impl Unpin for CopyMode
impl UnsafeUnpin for CopyMode
impl UnwindSafe for CopyMode
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