Trait nifti::volume::Sliceable [−][src]
pub trait Sliceable { type Slice: NiftiVolume; fn get_slice(&self, axis: u16, index: u16) -> Result<Self::Slice>; }
Interface for a volume that can be sliced.
Associated Types
type Slice: NiftiVolume
The type of the resulting slice, which is also a volume.
Required Methods
fn get_slice(&self, axis: u16, index: u16) -> Result<Self::Slice>
Obtain a slice of the volume over a certain axis, yielding a volume of N-1 dimensions.
Implementations on Foreign Types
impl<'a, T> Sliceable for &'a T where
&'a T: NiftiVolume,
[src]
impl<'a, T> Sliceable for &'a T where
&'a T: NiftiVolume,