pub struct LayoutObservers { /* private fields */ }Implementations§
Source§impl LayoutObservers
impl LayoutObservers
pub fn sync(&mut self, scene: &Node, layout: &LayoutNode)
Sourcepub fn sync_scroll_activity(
&mut self,
scene: &Node,
layout: &LayoutNode,
input: &Interaction,
now: Instant,
)
pub fn sync_scroll_activity( &mut self, scene: &Node, layout: &LayoutNode, input: &Interaction, now: Instant, )
Samples input against the same mounted bars used for hit testing.
pub fn scroll_activity_deadline(&self) -> Option<Instant>
pub fn clear(&mut self)
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for LayoutObservers
impl !Send for LayoutObservers
impl !Sync for LayoutObservers
impl !UnwindSafe for LayoutObservers
impl Forget for LayoutObservers
impl Freeze for LayoutObservers
impl Move for LayoutObservers
impl Unpin for LayoutObservers
impl UnsafeUnpin for LayoutObservers
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