pub enum ScrollTarget<'a> {
Edge(Edge),
Id {
state: &'a BoundState<String>,
anchor: Option<(f64, f64)>,
},
}Expand description
Where a scroll view should be — Swift’s two scrollPosition overloads.
Variants§
Edge(Edge)
Pinned to an edge.
Id
Scrolled to the row with this identity, at an optional unit anchor.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ScrollTarget<'a>
impl<'a> !UnwindSafe for ScrollTarget<'a>
impl<'a> Freeze for ScrollTarget<'a>
impl<'a> Send for ScrollTarget<'a>
impl<'a> Sync for ScrollTarget<'a>
impl<'a> Unpin for ScrollTarget<'a>
impl<'a> UnsafeUnpin for ScrollTarget<'a>
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