[−][src]Struct netcdf::file::File
Read only accessible file
Implementations
impl File
[src]
pub fn path(&self) -> Result<PathBuf>
[src]
path used to open/create the file
#Errors
Netcdf layer could fail, or the resulting path could contain an invalid UTF8 sequence
pub fn root(&self) -> Option<Group<'_>>
[src]
Main entrypoint for interacting with the netcdf file.
pub fn variable<'f>(&'f self, name: &str) -> Option<Variable<'f>>
[src]
Get a variable from the group
pub fn variables(&self) -> impl Iterator<Item = Variable<'_>>
[src]
Iterate over all variables in a group
pub fn attribute<'f>(&'f self, name: &str) -> Option<Attribute<'f>>
[src]
Get a single attribute
pub fn attributes(&self) -> impl Iterator<Item = Attribute<'_>>
[src]
Get all attributes in the root group
pub fn dimension<'f>(&self, name: &str) -> Option<Dimension<'f>>
[src]
Get a single dimension
pub fn dimensions(&self) -> impl Iterator<Item = Dimension<'_>>
[src]
Iterator over all dimensions in the root group
pub fn group<'f>(&'f self, name: &str) -> Result<Option<Group<'f>>>
[src]
pub fn groups<'f>(&'f self) -> Result<impl Iterator<Item = Group<'f>>>
[src]
pub fn types(&self) -> Result<impl Iterator<Item = VariableType>>
[src]
Return all types in the root group
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for File
impl Send for File
impl Sync for File
impl Unpin for File
impl UnwindSafe for File
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, 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>,