#[non_exhaustive]pub struct ToleranceDecision {
pub kind: ToleranceDecisionKind,
pub linear: Scalar,
pub angular: Scalar,
}Expand description
The worst reading of one kind a boolean made within tolerance.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.kind: ToleranceDecisionKindWhat was read.
linear: ScalarThe largest distance a feature was moved by a reading of this kind, in the operands’ length unit (zero for a purely angular reading).
angular: ScalarThe largest angle a direction was turned by a reading of this kind, in radians (zero for a purely linear reading).
Trait Implementations§
Source§impl Clone for ToleranceDecision
impl Clone for ToleranceDecision
Source§fn clone(&self) -> ToleranceDecision
fn clone(&self) -> ToleranceDecision
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 ToleranceDecision
Source§impl Debug for ToleranceDecision
impl Debug for ToleranceDecision
Source§impl PartialEq for ToleranceDecision
impl PartialEq for ToleranceDecision
impl StructuralPartialEq for ToleranceDecision
Auto Trait Implementations§
impl Freeze for ToleranceDecision
impl RefUnwindSafe for ToleranceDecision
impl Send for ToleranceDecision
impl Sync for ToleranceDecision
impl Unpin for ToleranceDecision
impl UnsafeUnpin for ToleranceDecision
impl UnwindSafe for ToleranceDecision
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