[][src]Struct gridly::prelude::Columns

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

A columns component of a Vector

Trait Implementations

impl Component for Columns[src]

type Converse = Rows

The converse component (Rows to Columns or vice versa)

type Point = Column

The assoicated location component type (Row or Column)

impl VectorLike for Columns[src]

A Rows or a Columns value can be treated as a Vector where the converse component is 0.

impl Eq for Columns[src]

impl Default for Columns[src]

impl Clone for Columns[src]

impl PartialOrd<Columns> for Columns[src]

impl PartialOrd<isize> for Columns[src]

impl PartialEq<Columns> for Columns[src]

impl PartialEq<isize> for Columns[src]

impl Ord for Columns[src]

impl From<isize> for Columns[src]

impl Copy for Columns[src]

impl Hash for Columns[src]

impl Add<Columns> for Column[src]

type Output = Self

The resulting type after applying the + operator.

impl Add<Columns> for Rows[src]

Adding a Rows to a Columns produces a Vector

type Output = Vector

The resulting type after applying the + operator.

impl Add<Rows> for Columns[src]

Adding a Rows to a Columns produces a Vector

type Output = Vector

The resulting type after applying the + operator.

impl<T: Into<Columns>> Add<T> for Columns[src]

type Output = Self

The resulting type after applying the + operator.

impl Sub<Columns> for Column[src]

type Output = Self

The resulting type after applying the - operator.

impl<T: Into<Columns>> Sub<T> for Columns[src]

type Output = Self

The resulting type after applying the - operator.

impl<T> Mul<T> for Columns where
    isize: Mul<T, Output = isize>, 
[src]

type Output = Self

The resulting type after applying the * operator.

impl Neg for Columns[src]

type Output = Self

The resulting type after applying the - operator.

impl AddAssign<Columns> for Column[src]

impl<T: Into<Columns>> AddAssign<T> for Columns[src]

impl SubAssign<Columns> for Column[src]

impl<T: Into<Columns>> SubAssign<T> for Columns[src]

impl<T> MulAssign<T> for Columns where
    isize: MulAssign<T>, 
[src]

impl Debug for Columns[src]

impl Sum<Columns> for Columns[src]

impl<'a> Sum<&'a Columns> for Columns[src]

Auto Trait Implementations

impl Send for Columns

impl Unpin for Columns

impl Sync for Columns

impl UnwindSafe for Columns

impl RefUnwindSafe for Columns

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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

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

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