[][src]Struct gridly::prelude::Row

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

A row 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<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 Add<Rows> for Row[src]

type Output = Self

The resulting type after applying the + operator.

impl AddAssign<Rows> for Row[src]

impl Clone for Row[src]

impl Component for Row[src]

type Converse = Column

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

type Distance = Rows

The associated vector component (Rows or Columns)

impl Copy for Row[src]

impl Debug for Row[src]

impl Default for Row[src]

impl Eq for Row[src]

impl From<isize> for Row[src]

impl Hash for Row[src]

impl Ord for Row[src]

impl PartialEq<Row> for Row[src]

impl PartialOrd<Row> for Row[src]

impl StructuralEq for Row[src]

impl StructuralPartialEq for Row[src]

impl Sub<Row> for Row[src]

The difference between two location components is the distance between them

type Output = Rows

The resulting type after applying the - operator.

impl Sub<Rows> for Row[src]

type Output = Self

The resulting type after applying the - operator.

impl SubAssign<Rows> for Row[src]

Auto Trait Implementations

impl RefUnwindSafe for Row

impl Send for Row

impl Sync for Row

impl Unpin for Row

impl UnwindSafe for Row

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.