pub enum Hyperslab {
Regular(RegularHyperslab),
Blocks(Vec<HyperslabBlock>),
}Expand description
The two wire forms a hyperslab selection can take
(H5S__hyper_deserialize, H5Shyper.c): a single compact
(start, stride, count, block) tuple per dimension, or an explicit list
of blocks combined by union. libhdf5 always writes the block-list form
for a selection made of exactly one block — including h5py’s
VirtualLayout — so both forms are real on-disk data, not just
alternates on paper.
Variants§
Regular(RegularHyperslab)
Blocks(Vec<HyperslabBlock>)
Trait Implementations§
impl Eq for Hyperslab
impl StructuralPartialEq for Hyperslab
Auto Trait Implementations§
impl Freeze for Hyperslab
impl RefUnwindSafe for Hyperslab
impl Send for Hyperslab
impl Sync for Hyperslab
impl Unpin for Hyperslab
impl UnsafeUnpin for Hyperslab
impl UnwindSafe for Hyperslab
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