#[repr(i32)]pub enum ScrollType {
None = 0,
Horizontal = 1,
Vertical = 2,
Both = 3,
AlwaysOn = 4,
HorizontalAlways = 5,
VerticalAlways = 6,
BothAlways = 7,
}
Expand description
Defines Scroll types
Variants§
None = 0
Never show bars
Horizontal = 1
Show vertical bar
Vertical = 2
Show vertical bar
Both = 3
Show both horizontal and vertical bars
AlwaysOn = 4
Always show bars
HorizontalAlways = 5
Show horizontal bar always
VerticalAlways = 6
Show vertical bar always
BothAlways = 7
Always show both horizontal and vertical bars
Trait Implementations§
Source§impl Clone for ScrollType
impl Clone for ScrollType
Source§fn clone(&self) -> ScrollType
fn clone(&self) -> ScrollType
Returns a duplicate of the value. Read more
1.0.0 · 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 ScrollType
impl Debug for ScrollType
Source§impl PartialEq for ScrollType
impl PartialEq for ScrollType
Source§impl WidgetType for ScrollType
impl WidgetType for ScrollType
impl Copy for ScrollType
impl Eq for ScrollType
impl StructuralPartialEq for ScrollType
Auto Trait Implementations§
impl Freeze for ScrollType
impl RefUnwindSafe for ScrollType
impl Send for ScrollType
impl Sync for ScrollType
impl Unpin for ScrollType
impl UnwindSafe for ScrollType
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