pub struct PointerInputScope { /* private fields */ }Implementations§
Source§impl PointerInputScope
impl PointerInputScope
Sourcepub fn size(&self) -> Size
pub fn size(&self) -> Size
The size of the layout node this handler is attached to, in the same
local coordinate space as the PointerEvent positions the scope
delivers (origin at the node’s top-left).
The layout pass publishes the node’s resolved size every pass, so this
is current from the first laid-out frame onwards — including before any
pointer event has arrived. It is 0x0 only while the node has never
been laid out.
pub async fn await_pointer_event_scope<R, F, Fut>(&self, block: F) -> R
Trait Implementations§
Source§impl Clone for PointerInputScope
impl Clone for PointerInputScope
Source§fn clone(&self) -> PointerInputScope
fn clone(&self) -> PointerInputScope
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for PointerInputScope
impl !Send for PointerInputScope
impl !Sync for PointerInputScope
impl !UnwindSafe for PointerInputScope
impl Freeze for PointerInputScope
impl Unpin for PointerInputScope
impl UnsafeUnpin for PointerInputScope
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