pub enum ScrollStrategy {
    KeepRow,
    StickToTop,
    StickToBottom,
}
Expand description

Defines the scrolling behaviour on content or size change

Variants

KeepRow

Keeps the same row number

StickToTop

Sticks to the top.

StickToBottom

Sticks to the bottom of the view.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Calls the given closure and return the result. Read more

Calls the given closure on self.

Calls the given closure on self.

Calls the given closure if condition == true.