pub trait ImageSizeLike { // Required methods fn width(&self) -> u32; fn height(&self) -> u32; }
Helper trait to make images generic across ImageSize and VoxelSize
ImageSize
VoxelSize
Returns the width of the region, in pixels / voxels
Returns the height of the region, in pixels / voxels