#[non_exhaustive]pub struct NcVariable {
pub name: String,
pub dims: Vec<usize>,
pub attributes: Vec<(String, NcValue)>,
pub data: NcValue,
}Expand description
A variable: its dimensions (indices into the file’s dimension list), attributes and data in C order (the record dimension, if any, first).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: String§dims: Vec<usize>§attributes: Vec<(String, NcValue)>§data: NcValueImplementations§
Trait Implementations§
Source§impl Clone for NcVariable
impl Clone for NcVariable
Source§impl Debug for NcVariable
impl Debug for NcVariable
Source§impl PartialEq for NcVariable
impl PartialEq for NcVariable
impl StructuralPartialEq for NcVariable
Auto Trait Implementations§
impl Freeze for NcVariable
impl RefUnwindSafe for NcVariable
impl Send for NcVariable
impl Sync for NcVariable
impl Unpin for NcVariable
impl UnsafeUnpin for NcVariable
impl UnwindSafe for NcVariable
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