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

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

A columns component of a Vector

Trait Implementations

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 AddAssign<Columns> for Column[src]

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

impl Clone for Columns[src]

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 Copy for Columns[src]

impl Debug for Columns[src]

impl Default for Columns[src]

impl Eq for Columns[src]

impl From<isize> for Columns[src]

impl Hash for Columns[src]

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

type Output = Self

The resulting type after applying the * operator.

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

impl Neg for Columns[src]

type Output = Self

The resulting type after applying the - operator.

impl Ord for Columns[src]

impl PartialEq<Columns> for Columns[src]

impl PartialEq<isize> for Columns[src]

impl PartialOrd<Columns> for Columns[src]

impl PartialOrd<isize> for Columns[src]

impl StructuralEq for Columns[src]

impl StructuralPartialEq for Columns[src]

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 SubAssign<Columns> for Column[src]

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

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

impl Sum<Columns> for Columns[src]

impl VectorLike for Columns[src]

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

Auto Trait Implementations

impl RefUnwindSafe for Columns

impl Send for Columns

impl Sync for Columns

impl Unpin for Columns

impl UnwindSafe for Columns

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.