#[non_exhaustive]pub struct ScrollEdgeElement {
pub scroll_view: NodeId,
pub edge: ScrollEdge,
}Expand description
A view floating over an edge of a scroll view, as the platform gets it
(ViewProps::scroll_edge_element): on iOS 26 and later the scroll
edge effect of that scroll view takes its shape from the view, as it
does from a bar, so the content scrolled under the view fades out
around what the view shows instead of being cut by it. Elsewhere a
fade the app draws under the view gives the same separation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.scroll_view: NodeIdThe scroll view (its native id).
edge: ScrollEdgeThe edge of it the view sits at.
Trait Implementations§
Source§impl Clone for ScrollEdgeElement
impl Clone for ScrollEdgeElement
impl Copy for ScrollEdgeElement
Source§impl Debug for ScrollEdgeElement
impl Debug for ScrollEdgeElement
impl Eq for ScrollEdgeElement
Source§impl PartialEq for ScrollEdgeElement
impl PartialEq for ScrollEdgeElement
impl StructuralPartialEq for ScrollEdgeElement
Auto Trait Implementations§
impl Forget for ScrollEdgeElement
impl Freeze for ScrollEdgeElement
impl Move for ScrollEdgeElement
impl RefUnwindSafe for ScrollEdgeElement
impl Send for ScrollEdgeElement
impl Sync for ScrollEdgeElement
impl Unpin for ScrollEdgeElement
impl UnsafeUnpin for ScrollEdgeElement
impl UnwindSafe for ScrollEdgeElement
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