pub enum ProgrammaticScrollCommand {
ScrollTo {
id: String,
x: f32,
y: f32,
},
ScrollToTop {
id: String,
},
ScrollToBottom {
id: String,
},
ScrollIntoView {
target_id: String,
},
}Expand description
Queued programmatic scroll operation executed by AppRuntime.
Variants§
Trait Implementations§
Source§impl Clone for ProgrammaticScrollCommand
impl Clone for ProgrammaticScrollCommand
Source§fn clone(&self) -> ProgrammaticScrollCommand
fn clone(&self) -> ProgrammaticScrollCommand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProgrammaticScrollCommand
impl Debug for ProgrammaticScrollCommand
impl StructuralPartialEq for ProgrammaticScrollCommand
Auto Trait Implementations§
impl Forget for ProgrammaticScrollCommand
impl Freeze for ProgrammaticScrollCommand
impl Move for ProgrammaticScrollCommand
impl RefUnwindSafe for ProgrammaticScrollCommand
impl Send for ProgrammaticScrollCommand
impl Sync for ProgrammaticScrollCommand
impl Unpin for ProgrammaticScrollCommand
impl UnsafeUnpin for ProgrammaticScrollCommand
impl UnwindSafe for ProgrammaticScrollCommand
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