pub struct TouchCandidateScoring {
pub strict_contact_gap_threshold: f32,
pub relaxed_contact_gap_threshold: f32,
pub strict_contact_min_position_deviation: f32,
pub relaxed_contact_min_position_deviation: f32,
pub strict_contact_min_velocity_deviation: f32,
pub relaxed_contact_min_velocity_deviation: f32,
pub relaxed_contact_score_penalty: f32,
pub dodge_contact_score_bonus: f32,
pub simultaneous_touch_score_margin: f32,
pub contested_touch_score_margin: f32,
}Fields§
§strict_contact_gap_threshold: f32§relaxed_contact_gap_threshold: f32§strict_contact_min_position_deviation: f32§relaxed_contact_min_position_deviation: f32§strict_contact_min_velocity_deviation: f32§relaxed_contact_min_velocity_deviation: f32§relaxed_contact_score_penalty: f32§dodge_contact_score_bonus: f32§simultaneous_touch_score_margin: f32§contested_touch_score_margin: f32Implementations§
Trait Implementations§
Source§impl Clone for TouchCandidateScoring
impl Clone for TouchCandidateScoring
Source§fn clone(&self) -> TouchCandidateScoring
fn clone(&self) -> TouchCandidateScoring
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 moreimpl Copy for TouchCandidateScoring
Source§impl Debug for TouchCandidateScoring
impl Debug for TouchCandidateScoring
Source§impl PartialEq for TouchCandidateScoring
impl PartialEq for TouchCandidateScoring
Source§fn eq(&self, other: &TouchCandidateScoring) -> bool
fn eq(&self, other: &TouchCandidateScoring) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TouchCandidateScoring
Auto Trait Implementations§
impl Freeze for TouchCandidateScoring
impl RefUnwindSafe for TouchCandidateScoring
impl Send for TouchCandidateScoring
impl Sync for TouchCandidateScoring
impl Unpin for TouchCandidateScoring
impl UnsafeUnpin for TouchCandidateScoring
impl UnwindSafe for TouchCandidateScoring
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