Enum flo_ui::control::Scroll [] [src]

pub enum Scroll {
    MinimumContentSize(f32f32),
    HorizontalScrollBar(ScrollBarVisibility),
    VerticalScrollBar(ScrollBarVisibility),
    Fix(FixedAxis),
}

Attributes representing the way a control scrolls its content

Variants

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.

Specifies the visibility of the horizontal scroll bar

Specifies the visibility of the vertical scroll bar

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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Scroll
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Debug for Scroll
[src]

[src]

Formats the value using the given formatter. Read more

impl Modifier<Control> for Scroll
[src]

[src]

Modify F with self.

impl<'a> Modifier<Control> for &'a Scroll
[src]

[src]

Modify F with self.

Auto Trait Implementations

impl Send for Scroll

impl Sync for Scroll