IntegerPoint

Trait IntegerPoint 

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

Required Methods§

Source

fn dimensions_are_powers_of_2(self) -> bool

Returns true iff all dimensions are powers of 2.

Source

fn is_cube(self) -> bool

Returns true iff all dimensions are equal.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§