pub enum Nc4DataType {
Float64,
Float32,
Int32,
UInt8,
String,
}Expand description
NetCDF4 variable type tags (mirrors HDF5 / NetCDF-4 data types).
Variants§
Float64
64-bit IEEE floating point.
Float32
32-bit IEEE floating point.
Int32
32-bit signed integer.
UInt8
8-bit unsigned integer.
String
Variable-length string (NC_STRING).
Implementations§
Source§impl Nc4DataType
impl Nc4DataType
Trait Implementations§
Source§impl Clone for Nc4DataType
impl Clone for Nc4DataType
Source§fn clone(&self) -> Nc4DataType
fn clone(&self) -> Nc4DataType
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 Nc4DataType
impl Debug for Nc4DataType
Source§impl PartialEq for Nc4DataType
impl PartialEq for Nc4DataType
Source§fn eq(&self, other: &Nc4DataType) -> bool
fn eq(&self, other: &Nc4DataType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for Nc4DataType
impl StructuralPartialEq for Nc4DataType
Auto Trait Implementations§
impl Freeze for Nc4DataType
impl RefUnwindSafe for Nc4DataType
impl Send for Nc4DataType
impl Sync for Nc4DataType
impl Unpin for Nc4DataType
impl UnsafeUnpin for Nc4DataType
impl UnwindSafe for Nc4DataType
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.