[][src]Struct gridly::Rows

pub struct Rows(pub isize);

Trait Implementations

impl Component for Rows[src]

type Converse = Columns

The converse component (Rows to Columns or vice versa)

type Point = Row

The assoicated location component type (Row or Column)

fn transpose(self) -> Self::Converse[src]

impl Clone for Rows[src]

default fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Ord for Rows[src]

default fn max(self, other: Self) -> Self
1.21.0
[src]

Compares and returns the maximum of two values. Read more

default fn min(self, other: Self) -> Self
1.21.0
[src]

Compares and returns the minimum of two values. Read more

default fn clamp(self, min: Self, max: Self) -> Self[src]

🔬 This is a nightly-only experimental API. (clamp)

Restrict a value to a certain interval. Read more

impl Eq for Rows[src]

impl PartialOrd<Rows> for Rows[src]

impl PartialOrd<isize> for Rows[src]

impl Copy for Rows[src]

impl PartialEq<Rows> for Rows[src]

impl PartialEq<isize> for Rows[src]

#[must_use]
default fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Default for Rows[src]

impl From<isize> for Rows[src]

impl Debug for Rows[src]

impl Hash for Rows[src]

default fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Add<Rows> for Row[src]

type Output = Self

The resulting type after applying the + operator.

impl Add<Columns> for Rows[src]

Adding a component to its converse (ie, Rows to Columns) creates a Vector

type Output = Vector

The resulting type after applying the + operator.

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

type Output = Self

The resulting type after applying the + operator.

impl Add<Rows> for Columns[src]

Adding a component to its converse (ie, Rows to Columns) creates a Vector

type Output = Vector

The resulting type after applying the + operator.

impl Sub<Rows> for Row[src]

type Output = Self

The resulting type after applying the - operator.

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

type Output = Self

The resulting type after applying the - operator.

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

type Output = Self

The resulting type after applying the * operator.

impl Neg for Rows[src]

type Output = Self

The resulting type after applying the - operator.

impl AddAssign<Rows> for Row[src]

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

impl SubAssign<Rows> for Row[src]

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

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

Auto Trait Implementations

impl Send for Rows

impl Sync for Rows

Blanket Implementations

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

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

type Owned = T

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

impl<T, U> TryInto 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> Any for T where
    T: 'static + ?Sized
[src]