#[repr(C)]pub enum AutoScrollDirection {
None = 0,
Up = 1,
Down = 2,
Left = 3,
Right = 4,
UpLeft = 5,
UpRight = 6,
DownLeft = 7,
DownRight = 8,
}Expand description
Direction for auto-scrolling during drag operations
Variants§
Trait Implementations§
Source§impl Clone for AutoScrollDirection
impl Clone for AutoScrollDirection
Source§fn clone(&self) -> AutoScrollDirection
fn clone(&self) -> AutoScrollDirection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AutoScrollDirection
impl Debug for AutoScrollDirection
Source§impl Default for AutoScrollDirection
impl Default for AutoScrollDirection
Source§fn default() -> AutoScrollDirection
fn default() -> AutoScrollDirection
Returns the “default value” for a type. Read more
Source§impl PartialEq for AutoScrollDirection
impl PartialEq for AutoScrollDirection
Source§fn eq(&self, other: &AutoScrollDirection) -> bool
fn eq(&self, other: &AutoScrollDirection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AutoScrollDirection
impl Eq for AutoScrollDirection
impl StructuralPartialEq for AutoScrollDirection
Auto Trait Implementations§
impl Freeze for AutoScrollDirection
impl RefUnwindSafe for AutoScrollDirection
impl Send for AutoScrollDirection
impl Sync for AutoScrollDirection
impl Unpin for AutoScrollDirection
impl UnsafeUnpin for AutoScrollDirection
impl UnwindSafe for AutoScrollDirection
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