pub struct ScrollNode {
pub component: Arc<dyn Component>,
pub get_scroll_top: fn() -> usize,
}Expand description
Scroll view layout node.
Fields§
§component: Arc<dyn Component>§get_scroll_top: fn() -> usizeA callback to get the scroll state during layout
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ScrollNode
impl !UnwindSafe for ScrollNode
impl Freeze for ScrollNode
impl Send for ScrollNode
impl Sync for ScrollNode
impl Unpin for ScrollNode
impl UnsafeUnpin for ScrollNode
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