pub enum ScrollAction {
CancelFlick,
ReturnToBounds,
To {
x: Length,
y: Length,
},
ToIndex {
index: i64,
alignment: ScrollAlignment,
},
ToRowKey {
key: RowKey,
source_index: usize,
alignment: ScrollAlignment,
},
ToColumn {
column: i64,
alignment: ScrollAlignment,
},
ToCell {
row: i64,
column: i64,
horizontal: ScrollAlignment,
vertical: ScrollAlignment,
},
ToCellAtRowKey {
key: RowKey,
source_index: usize,
column: i64,
horizontal: ScrollAlignment,
vertical: ScrollAlignment,
},
}Variants§
CancelFlick
ReturnToBounds
To
ToIndex
ToRowKey
A source record captured before the view is laid out.
ToColumn
A declaration-order column. Frozen columns keep their horizontal position.
ToCell
A displayed row and a declaration-order column, resolved after layout.
ToCellAtRowKey
A captured source record and a declaration-order table column.
Trait Implementations§
Source§impl Clone for ScrollAction
impl Clone for ScrollAction
impl Copy for ScrollAction
Source§impl Debug for ScrollAction
impl Debug for ScrollAction
Source§impl PartialEq for ScrollAction
impl PartialEq for ScrollAction
impl StructuralPartialEq for ScrollAction
Auto Trait Implementations§
impl Forget for ScrollAction
impl Freeze for ScrollAction
impl Move for ScrollAction
impl RefUnwindSafe for ScrollAction
impl Send for ScrollAction
impl Sync for ScrollAction
impl Unpin for ScrollAction
impl UnsafeUnpin for ScrollAction
impl UnwindSafe for ScrollAction
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