[][src]Struct n5::ndarray::BoundingBox

pub struct BoundingBox { /* fields omitted */ }

Specifes the extents of an axis-aligned bounding box.

Methods

impl BoundingBox[src]

pub fn new(offset: GridCoord, size: GridCoord) -> BoundingBox[src]

pub fn size_block(&self) -> BlockCoord[src]

pub fn size_ndarray_shape(&self) -> CoordVec<usize>[src]

pub fn intersect(&mut self, other: &BoundingBox)[src]

pub fn union(&mut self, other: &BoundingBox)[src]

pub fn end(&self) -> impl Iterator<Item = i64> + '_[src]

pub fn to_ndarray_slice(&self) -> CoordVec<SliceOrIndex>[src]

Trait Implementations

impl Eq for BoundingBox[src]

impl PartialEq<BoundingBox> for BoundingBox[src]

impl Clone for BoundingBox[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for BoundingBox[src]

impl<'_> Sub<&'_ SmallVec<[i64; 6]>> for BoundingBox[src]

type Output = Self

The resulting type after applying the - operator.

Auto Trait Implementations

impl Send for BoundingBox

impl Sync for BoundingBox

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]