[−][src]Struct gridly::vector::Rows
A
rows
component of a Vector
Trait Implementations
impl Component for Rows
[src]
type Converse = Columns
type Point = Row
fn from_vector(vector: impl VectorLike) -> Self
[src]
fn combine(self, other: Columns) -> Vector
[src]
fn value(self) -> isize
[src]
fn transpose(self) -> Self::Converse
[src]
impl VectorLike for Rows
[src]
fn rows(&self) -> Rows
[src]
fn columns(&self) -> Columns
[src]
fn as_vector(&self) -> Vector
[src]
fn manhattan_length(&self) -> isize
[src]
fn checked_manhattan_length(&self) -> Option<isize>
[src]
fn clockwise(&self) -> Vector
[src]
fn anticlockwise(&self) -> Vector
[src]
fn reverse(&self) -> Vector
[src]
fn get_component<T: Component>(&self) -> T
[src]
fn transpose(&self) -> Vector
[src]
fn direction(&self) -> Option<Direction>
[src]
impl Eq for Rows
[src]
impl Default for Rows
[src]
impl Clone for Rows
[src]
impl PartialOrd<Rows> for Rows
[src]
fn partial_cmp(&self, other: &Rows) -> Option<Ordering>
[src]
fn lt(&self, other: &Rows) -> bool
[src]
fn le(&self, other: &Rows) -> bool
[src]
fn gt(&self, other: &Rows) -> bool
[src]
fn ge(&self, other: &Rows) -> bool
[src]
impl PartialOrd<isize> for Rows
[src]
fn partial_cmp(&self, rhs: &isize) -> Option<Ordering>
[src]
fn lt(&self, rhs: &isize) -> bool
[src]
fn le(&self, rhs: &isize) -> bool
[src]
fn ge(&self, rhs: &isize) -> bool
[src]
fn gt(&self, rhs: &isize) -> bool
[src]
impl PartialEq<Rows> for Rows
[src]
impl PartialEq<isize> for Rows
[src]
impl Ord for Rows
[src]
fn cmp(&self, other: &Rows) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl From<isize> for Rows
[src]
impl Copy for Rows
[src]
impl Hash for Rows
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Add<Rows> for Row
[src]
type Output = Self
The resulting type after applying the +
operator.
#[must_use]
fn add(self, rhs: Rows) -> Self
[src]
impl Add<Columns> for Rows
[src]
type Output = Vector
The resulting type after applying the +
operator.
fn add(self, rhs: Columns) -> Vector
[src]
impl<T: Into<Rows>> Add<T> for Rows
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, rhs: T) -> Self
[src]
impl Add<Rows> for Columns
[src]
type Output = Vector
The resulting type after applying the +
operator.
fn add(self, rhs: Rows) -> Vector
[src]
impl Sub<Rows> for Row
[src]
type Output = Self
The resulting type after applying the -
operator.
#[must_use]
fn sub(self, rhs: Rows) -> Self
[src]
impl<T: Into<Rows>> Sub<T> for Rows
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, rhs: T) -> Self
[src]
impl<T> Mul<T> for Rows where
isize: Mul<T, Output = isize>,
[src]
isize: Mul<T, Output = isize>,
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, factor: T) -> Self
[src]
impl Neg for Rows
[src]
impl AddAssign<Rows> for Row
[src]
fn add_assign(&mut self, rhs: Rows)
[src]
impl<T: Into<Rows>> AddAssign<T> for Rows
[src]
fn add_assign(&mut self, rhs: T)
[src]
impl SubAssign<Rows> for Row
[src]
fn sub_assign(&mut self, rhs: Rows)
[src]
impl<T: Into<Rows>> SubAssign<T> for Rows
[src]
fn sub_assign(&mut self, rhs: T)
[src]
impl<T> MulAssign<T> for Rows where
isize: MulAssign<T>,
[src]
isize: MulAssign<T>,
fn mul_assign(&mut self, factor: T)
[src]
impl Debug for Rows
[src]
impl Sum<Rows> for Rows
[src]
impl<'a> Sum<&'a Rows> for Rows
[src]
Auto Trait Implementations
impl Send for Rows
impl Unpin for Rows
impl Sync for Rows
impl UnwindSafe for Rows
impl RefUnwindSafe for Rows
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,