[][src]Enum spacebattleship::board::rectangular::Wrapping

#[repr(u8)]pub enum Wrapping {
    Horizontal,
    Vertical,
}

Controls which dimensions the grid wraps around in.

Variants

Horizontal

The grid wraps along the x direction.

Vertical

The grid wraps along the y direction.

Trait Implementations

impl BitAnd<Wrapping> for Wrapping[src]

type Output = BitFlags<Wrapping>

The resulting type after applying the & operator.

impl BitOr<Wrapping> for Wrapping[src]

type Output = BitFlags<Wrapping>

The resulting type after applying the | operator.

impl BitXor<Wrapping> for Wrapping[src]

type Output = BitFlags<Wrapping>

The resulting type after applying the ^ operator.

impl Clone for Wrapping[src]

impl Copy for Wrapping[src]

impl Debug for Wrapping[src]

impl Eq for Wrapping[src]

impl Not for Wrapping[src]

type Output = BitFlags<Wrapping>

The resulting type after applying the ! operator.

impl PartialEq<Wrapping> for Wrapping[src]

impl RawBitFlags for Wrapping[src]

impl RawBitFlags for Wrapping[src]

type Type = u8

The underlying integer type.

impl StructuralEq for Wrapping[src]

impl StructuralPartialEq for Wrapping[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.