pub struct Lookup {
pub value: f64,
pub extrapolated: Option<Side>,
}Expand description
The result of a table lookup.
Fields§
§value: f64The interpolated or extrapolated value.
extrapolated: Option<Side>Some when the abscissa was outside the table and the extrapolation policy produced the
value; None inside the table, ends included.
Trait Implementations§
impl Copy for Lookup
Source§impl<'de> Deserialize<'de> for Lookup
impl<'de> Deserialize<'de> for Lookup
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
impl StructuralPartialEq for Lookup
Auto Trait Implementations§
impl Freeze for Lookup
impl RefUnwindSafe for Lookup
impl Send for Lookup
impl Sync for Lookup
impl Unpin for Lookup
impl UnsafeUnpin for Lookup
impl UnwindSafe for Lookup
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