Struct makepad_widgets::HitOptions
pub struct HitOptions {
pub margin: Option<Margin>,
pub sweep_area: Area,
pub capture_overload: bool,
}
Fields§
§margin: Option<Margin>
§sweep_area: Area
§capture_overload: bool
Implementations§
§impl HitOptions
impl HitOptions
pub fn new() -> HitOptions
pub fn with_sweep_area(self, area: Area) -> HitOptions
pub fn with_margin(self, margin: Margin) -> HitOptions
pub fn with_capture_overload(self, capture_overload: bool) -> HitOptions
Trait Implementations§
§impl Clone for HitOptions
impl Clone for HitOptions
§fn clone(&self) -> HitOptions
fn clone(&self) -> HitOptions
Returns a copy 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 more§impl Debug for HitOptions
impl Debug for HitOptions
§impl Default for HitOptions
impl Default for HitOptions
§fn default() -> HitOptions
fn default() -> HitOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for HitOptions
impl Send for HitOptions
impl Sync for HitOptions
impl Unpin for HitOptions
impl UnwindSafe for HitOptions
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