pub enum DataPoint {
Alpha(String),
Float(f32),
Int(i32),
}
Expand description
The building block of CGATS data
Variants§
Implementations§
Trait Implementations§
source§impl PartialAdd<DataPoint> for DataPoint
impl PartialAdd<DataPoint> for DataPoint
source§impl PartialDiv<usize> for DataPoint
impl PartialDiv<usize> for DataPoint
source§impl PartialEq<&str> for DataPoint
impl PartialEq<&str> for DataPoint
source§impl PartialEq<DataPoint> for &str
impl PartialEq<DataPoint> for &str
source§impl PartialEq<DataPoint> for f32
impl PartialEq<DataPoint> for f32
source§impl PartialEq<DataPoint> for i32
impl PartialEq<DataPoint> for i32
source§impl PartialEq<DataPoint> for str
impl PartialEq<DataPoint> for str
source§impl PartialEq<String> for DataPoint
impl PartialEq<String> for DataPoint
source§impl PartialEq for DataPoint
impl PartialEq for DataPoint
source§impl PartialOrd for DataPoint
impl PartialOrd for DataPoint
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for DataPoint
Auto Trait Implementations§
impl Freeze for DataPoint
impl RefUnwindSafe for DataPoint
impl Send for DataPoint
impl Sync for DataPoint
impl Unpin for DataPoint
impl UnwindSafe for DataPoint
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
source§impl<'a, T> PartialSum<'a, T> for Twhere
T: 'a + Clone + PartialAdd<T, Output = T>,
impl<'a, T> PartialSum<'a, T> for Twhere
T: 'a + Clone + PartialAdd<T, Output = T>,
source§fn partial_sum<I>(iter: I) -> Option<<T as PartialAdd<T>>::Output>where
I: IntoIterator<Item = &'a T>,
fn partial_sum<I>(iter: I) -> Option<<T as PartialAdd<T>>::Output>where
I: IntoIterator<Item = &'a T>,
Try to sum the values in the iterator