pub enum ScrollMode {
First,
Last,
Relative,
Absolute,
}Expand description
Scroll mode for Python-compatible API
Variants§
First
Move to first row
Last
Move to last row
Relative
Move relative to current position (default)
Absolute
Move to absolute position
Trait Implementations§
Source§impl Clone for ScrollMode
impl Clone for ScrollMode
Source§fn clone(&self) -> ScrollMode
fn clone(&self) -> ScrollMode
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScrollMode
impl Debug for ScrollMode
Source§impl Default for ScrollMode
impl Default for ScrollMode
Source§impl From<ScrollMode> for FetchOrientation
impl From<ScrollMode> for FetchOrientation
Source§fn from(mode: ScrollMode) -> Self
fn from(mode: ScrollMode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ScrollMode
impl PartialEq for ScrollMode
impl Copy for ScrollMode
impl Eq for ScrollMode
impl StructuralPartialEq for ScrollMode
Auto Trait Implementations§
impl Freeze for ScrollMode
impl RefUnwindSafe for ScrollMode
impl Send for ScrollMode
impl Sync for ScrollMode
impl Unpin for ScrollMode
impl UnwindSafe for ScrollMode
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.