pub struct HitTestNode {
pub shape: Option<RoundedCornerShape>,
pub click_actions: Vec<Rc<dyn Fn(Point)>>,
pub pointer_inputs: Vec<Rc<dyn Fn(PointerEvent)>>,
pub clip: Option<Rect>,
}Fields§
§shape: Option<RoundedCornerShape>§click_actions: Vec<Rc<dyn Fn(Point)>>§pointer_inputs: Vec<Rc<dyn Fn(PointerEvent)>>§clip: Option<Rect>Trait Implementations§
Source§impl Clone for HitTestNode
impl Clone for HitTestNode
Source§fn clone(&self) -> HitTestNode
fn clone(&self) -> HitTestNode
Returns a duplicate of the value. Read more
1.0.0 · 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 Freeze for HitTestNode
impl !RefUnwindSafe for HitTestNode
impl !Send for HitTestNode
impl !Sync for HitTestNode
impl Unpin for HitTestNode
impl UnsafeUnpin for HitTestNode
impl !UnwindSafe for HitTestNode
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