pub struct Group<'a> { /* private fields */ }
Expand description
Represent a mdarray in a dataset
This object carries the lifetime of the dataset that contains it. This is necessary to prevent the dataset from being dropped before the group.
Implementations§
source§impl<'a> Group<'a>
impl<'a> Group<'a>
sourcepub unsafe fn from_c_group(_dataset: &'a Dataset, c_group: GDALGroupH) -> Self
pub unsafe fn from_c_group(_dataset: &'a Dataset, c_group: GDALGroupH) -> Self
pub fn name(&self) -> String
pub fn group_names(&self, options: CslStringList) -> Vec<String>
pub fn array_names(&self, options: CslStringList) -> Vec<String>
pub fn open_md_array( &self, name: &str, options: CslStringList ) -> Result<MDArray<'_>>
pub fn open_group( &self, name: &str, options: CslStringList ) -> Result<Group<'a>>
pub fn attribute(&self, name: &str) -> Result<Attribute>
pub fn dimensions(&self, options: CslStringList) -> Result<Vec<Dimension<'_>>>
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Group<'a>
impl<'a> !Send for Group<'a>
impl<'a> !Sync for Group<'a>
impl<'a> Unpin for Group<'a>
impl<'a> UnwindSafe for Group<'a>
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