[−][src]Struct hdf5::Dataspace
Represents the HDF5 dataspace object.
Implementations
impl Dataspace
[src]
pub fn copy(&self) -> Self
[src]
Copies the dataspace.
pub fn select_slice<S>(&self, slice: S) -> Result<Vec<Ix>> where
S: AsRef<[SliceOrIndex]>,
[src]
S: AsRef<[SliceOrIndex]>,
Select a slice (known as a 'hyperslab' in HDF5 terminology) of the Dataspace. Returns the shape of array that is capable of holding the resulting slice. Useful when you want to read a subset of a dataset.
pub fn try_new<D: Dimension>(d: D, resizable: bool) -> Result<Self>
[src]
pub fn maxdims(&self) -> Vec<Ix>
[src]
pub fn resizable(&self) -> bool
[src]
Methods from Deref<Target = Object>
pub fn id(&self) -> hid_t
[src]
pub fn refcount(&self) -> u32
[src]
Returns reference count if the handle is valid and 0 otherwise.
pub fn is_valid(&self) -> bool
[src]
Returns true
if the object has a valid unlocked identifier (false
for pre-defined
locked identifiers like property list classes).
pub fn id_type(&self) -> H5I_type_t
[src]
Returns type of the object.
Trait Implementations
impl Clone for Dataspace
[src]
impl Debug for Dataspace
[src]
impl Deref for Dataspace
[src]
impl Dimension for Dataspace
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Dataspace
[src]
impl Send for Dataspace
[src]
impl Sync for Dataspace
[src]
impl Unpin for Dataspace
[src]
impl !UnwindSafe for Dataspace
[src]
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,
pub 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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,