pub struct PercentMatch {
pub value: f32,
pub percent: f32,
}Fields§
§value: f32§percent: f32Trait Implementations§
Source§impl Clone for PercentMatch
impl Clone for PercentMatch
Source§fn clone(&self) -> PercentMatch
fn clone(&self) -> PercentMatch
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 moreSource§impl Debug for PercentMatch
impl Debug for PercentMatch
Source§impl PartialEq for PercentMatch
impl PartialEq for PercentMatch
Source§fn eq(&self, other: &PercentMatch) -> bool
fn eq(&self, other: &PercentMatch) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PercentMatch
impl StructuralPartialEq for PercentMatch
Auto Trait Implementations§
impl Freeze for PercentMatch
impl RefUnwindSafe for PercentMatch
impl Send for PercentMatch
impl Sync for PercentMatch
impl Unpin for PercentMatch
impl UnsafeUnpin for PercentMatch
impl UnwindSafe for PercentMatch
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