Enum flo_ui::control::Scroll
[−]
[src]
pub enum Scroll { MinimumContentSize(f32, f32), HorizontalScrollBar(ScrollBarVisibility), VerticalScrollBar(ScrollBarVisibility), Fix(FixedAxis), }
Attributes representing the way a control scrolls its content
Variants
MinimumContentSize(f32, f32)
The size of the content of this scroll region
This is a minimum size. If there are items placed outside this region, the scroll region will grow to accomodate them.
If the control is larger than this size, then the bounds will be set to the overall size of the control.
HorizontalScrollBar(ScrollBarVisibility)
Specifies the visibility of the horizontal scroll bar
VerticalScrollBar(ScrollBarVisibility)
Specifies the visibility of the vertical scroll bar
Fix(FixedAxis)
Fixes the position of this element relative to its containing scroll region
It will be laid out as normal but will not move when the region is scrolled
Trait Implementations
impl Clone for Scroll
[src]
fn clone(&self) -> Scroll
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for Scroll
[src]
fn eq(&self, __arg_0: &Scroll) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Scroll) -> bool
[src]
This method tests for !=
.
impl Debug for Scroll
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more