pub struct NcGroup {
pub name: String,
pub dimensions: Vec<NcDimension>,
pub variables: Vec<NcVariable>,
pub attributes: Vec<NcAttribute>,
pub groups: Vec<NcGroup>,
}Expand description
A NetCDF group.
Fields§
§name: String§dimensions: Vec<NcDimension>§variables: Vec<NcVariable>§attributes: Vec<NcAttribute>§groups: Vec<NcGroup>Implementations§
Source§impl NcGroup
impl NcGroup
pub fn variable(&self, name: &str) -> Option<&NcVariable>
pub fn dimension(&self, name: &str) -> Option<&NcDimension>
pub fn coordinate_variable(&self, name: &str) -> Option<&NcVariable>
pub fn coordinate_variables(&self) -> impl Iterator<Item = &NcVariable>
pub fn attribute(&self, name: &str) -> Option<&NcAttribute>
pub fn group(&self, name: &str) -> Option<&NcGroup>
Trait Implementations§
impl StructuralPartialEq for NcGroup
Auto Trait Implementations§
impl Freeze for NcGroup
impl RefUnwindSafe for NcGroup
impl Send for NcGroup
impl Sync for NcGroup
impl Unpin for NcGroup
impl UnsafeUnpin for NcGroup
impl UnwindSafe for NcGroup
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more