Enum fltk::group::ScrollType
source · #[repr(i32)]pub enum ScrollType {
None,
Horizontal,
Vertical,
Both,
AlwaysOn,
HorizontalAlways,
VerticalAlways,
BothAlways,
}
Expand description
Defines Scroll types
Variants§
None
Never show bars
Horizontal
Show vertical bar
Vertical
Show vertical bar
Both
Show both horizontal and vertical bars
AlwaysOn
Always show bars
HorizontalAlways
Show horizontal bar always
VerticalAlways
Show vertical bar always
BothAlways
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 copy 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<ScrollType> for ScrollType
impl PartialEq<ScrollType> for ScrollType
source§fn eq(&self, other: &ScrollType) -> bool
fn eq(&self, other: &ScrollType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl WidgetType for ScrollType
impl WidgetType for ScrollType
impl Copy for ScrollType
impl Eq for ScrollType
impl StructuralEq for ScrollType
impl StructuralPartialEq for ScrollType
Auto Trait Implementations§
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