[−][src]Struct netcdf::group::Group
Main component of the netcdf format. Holds all variables, attributes, and dimensions. A group can always see the parents items, but a parent can not access a childs items.
Implementations
impl<'f> Group<'f>
[src]
pub fn name(&self) -> String
[src]
Name of the current group
pub fn variable<'g>(&'g self, name: &str) -> Option<Variable<'g>> where
'f: 'g,
[src]
'f: 'g,
Get a variable from the group
pub fn variables<'g>(&'g self) -> impl Iterator<Item = Variable<'g>> where
'f: 'g,
[src]
'f: 'g,
Iterate over all variables in a group
pub fn attribute<'a>(&'a self, name: &str) -> Option<Attribute<'a>>
[src]
Get a single attribute
pub fn attributes(&self) -> impl Iterator<Item = Attribute<'_>>
[src]
Get all attributes in the group
pub fn dimension<'g>(&'g self, name: &str) -> Option<Dimension<'g>> where
'f: 'g,
[src]
'f: 'g,
Get a single dimension
pub fn dimensions<'g>(&'g self) -> impl Iterator<Item = Dimension<'g>> where
'f: 'g,
[src]
'f: 'g,
Iterator over all dimensions
pub fn group<'g>(&'g self, name: &str) -> Option<Group<'g>> where
'f: 'g,
[src]
'f: 'g,
Get a group
pub fn groups<'g>(&'g self) -> impl Iterator<Item = Group<'g>> where
'f: 'g,
[src]
'f: 'g,
Iterator over all subgroups in this group
pub fn types(&self) -> impl Iterator<Item = VariableType>
[src]
Return all types in this group
Trait Implementations
Auto Trait Implementations
impl<'f> RefUnwindSafe for Group<'f>
impl<'f> Send for Group<'f>
impl<'f> Sync for Group<'f>
impl<'f> Unpin for Group<'f>
impl<'f> UnwindSafe for Group<'f>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
[src]
const ALIGN: usize
[src]
type Init = T
The type for initializers.
unsafe fn init(init: <T as Pointable>::Init) -> usize
[src]
unsafe fn deref<'a>(ptr: usize) -> &'a T
[src]
unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
[src]
unsafe fn drop(ptr: usize)
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,