[][src]Struct gridly::prelude::Column

#[repr(transparent)]
pub struct Column(pub isize);

A column component of a Location. See Component for details.

Trait Implementations

impl Add<Column> for Row[src]

Adding a component to its converse (ie, a Row to a Column) produces a Location

type Output = Location

The resulting type after applying the + operator.

impl Add<Columns> for Column[src]

type Output = Self

The resulting type after applying the + operator.

impl Add<Row> for Column[src]

Adding a component to its converse (ie, a Row to a Column) produces a Location

type Output = Location

The resulting type after applying the + operator.

impl AddAssign<Columns> for Column[src]

impl Clone for Column[src]

impl Component for Column[src]

type Converse = Row

The converse component (Row to Column, or vice versa)

type Distance = Columns

The associated vector component (Rows or Columns)

impl Copy for Column[src]

impl Debug for Column[src]

impl Default for Column[src]

impl Eq for Column[src]

impl From<isize> for Column[src]

impl Hash for Column[src]

impl Ord for Column[src]

impl PartialEq<Column> for Column[src]

impl PartialOrd<Column> for Column[src]

impl StructuralEq for Column[src]

impl StructuralPartialEq for Column[src]

impl Sub<Column> for Column[src]

The difference between two location components is the distance between them

type Output = Columns

The resulting type after applying the - operator.

impl Sub<Columns> for Column[src]

type Output = Self

The resulting type after applying the - operator.

impl SubAssign<Columns> for Column[src]

Auto Trait Implementations

impl RefUnwindSafe for Column

impl Send for Column

impl Sync for Column

impl Unpin for Column

impl UnwindSafe for Column

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 = !

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.