pub struct Pinned {
pub value: f64,
pub tolerance: f64,
}Expand description
A pinned expectation: declared value ± tolerance.
Fields§
§value: f64Expected value.
tolerance: f64Allowed absolute deviation from Pinned::value.
Trait Implementations§
impl Copy for Pinned
Source§impl<'de> Deserialize<'de> for Pinned
impl<'de> Deserialize<'de> for Pinned
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Pinned
impl RefUnwindSafe for Pinned
impl Send for Pinned
impl Sync for Pinned
impl Unpin for Pinned
impl UnsafeUnpin for Pinned
impl UnwindSafe for Pinned
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