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§
Source§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§
Source§impl Clone for HitOptions
impl Clone for HitOptions
Source§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 moreSource§impl Debug for HitOptions
impl Debug for HitOptions
Source§impl Default for HitOptions
impl Default for HitOptions
Source§fn default() -> HitOptions
fn default() -> HitOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for HitOptions
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> ActionTrait for T
impl<T> ActionTrait for T
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