pub trait Sliceable {
type Slice: NiftiVolume;
// Required method
fn get_slice(&self, axis: u16, index: u16) -> Result<Self::Slice>;
}
Expand description
Interface for a volume that can be sliced at an arbitrary position.
Required Associated Types§
sourcetype Slice: NiftiVolume
type Slice: NiftiVolume
The type of the resulting slice, which is also a volume.