Trait building_blocks::prelude::IntegerPoint[][src]

pub trait IntegerPoint<N>: BitAnd<Self, Output = Self, Output = Self> + BitOr<Self, Output = Self, Output = Self> + BitXor<Self, Output = Self, Output = Self> + BitAnd<i32> + BitOr<i32> + BitXor<i32> + Eq + IntegerDiv + IterExtent<N> + LatticeOrder + Neighborhoods + Not<Output = Self> + Point<Scalar = i32> + Rem<Self, Output = Self, Output = Self> + Shl<Self, Output = Self, Output = Self> + Shr<Self, Output = Self, Output = Self> + Rem<i32> + Shl<i32> + Shr<i32> {
    fn dimensions_are_powers_of_2(self) -> bool;
fn is_cube(self) -> bool; }

Required methods

Returns true iff all dimensions are powers of 2.

Returns true iff all dimensions are equal.

Implementors