Struct structured::FloatRange
source · pub struct FloatRange {
pub smallest: f64,
pub largest: f64,
}
Fields§
§smallest: f64
§largest: f64
Trait Implementations§
source§impl Clone for FloatRange
impl Clone for FloatRange
source§fn clone(&self) -> FloatRange
fn clone(&self) -> FloatRange
Returns a copy of the value. Read more
1.0.0 · 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 FloatRange
impl Debug for FloatRange
source§impl Default for FloatRange
impl Default for FloatRange
source§fn default() -> FloatRange
fn default() -> FloatRange
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for FloatRange
impl<'de> Deserialize<'de> for FloatRange
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
source§impl PartialEq for FloatRange
impl PartialEq for FloatRange
source§fn eq(&self, other: &FloatRange) -> bool
fn eq(&self, other: &FloatRange) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for FloatRange
impl Serialize for FloatRange
impl StructuralPartialEq for FloatRange
Auto Trait Implementations§
impl RefUnwindSafe for FloatRange
impl Send for FloatRange
impl Sync for FloatRange
impl Unpin for FloatRange
impl UnwindSafe for FloatRange
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