[−][src]Struct gridly::prelude::Row
A
row
component of a Location
Trait Implementations
impl Component for Row[src]
type Converse = Column
type Distance = Rows
#[must_use]
fn from_location<L: LocationLike>(location: L) -> Self[src]
#[must_use]
fn combine(self, other: Self::Converse) -> Location[src]
#[must_use]
fn name() -> &'static str[src]
#[must_use]
fn add_distance(self, distance: impl Into<Self::Distance>) -> Self[src]
#[must_use]
fn distance_from(self, origin: Self) -> Self::Distance[src]
#[must_use]
fn value(self) -> isize[src]
#[must_use]
fn distance_to(self, target: Self) -> Self::Distance[src]
#[must_use]
fn transpose(self) -> Self::Converse[src]
ⓘImportant traits for ComponentRange<C>#[must_use]
fn span(self, length: Self::Distance) -> ComponentRange<Self>[src]
ⓘImportant traits for ComponentRange<C>
ⓘImportant traits for ComponentRange<C>#[must_use]
fn range_to(self, end: Self) -> ComponentRange<Self>[src]
ⓘImportant traits for ComponentRange<C>
impl From<isize> for Row[src]
impl Clone for Row[src]
impl Default for Row[src]
impl PartialOrd<Row> for Row[src]
fn partial_cmp(&self, other: &Row) -> Option<Ordering>[src]
fn lt(&self, other: &Row) -> bool[src]
fn le(&self, other: &Row) -> bool[src]
fn gt(&self, other: &Row) -> bool[src]
fn ge(&self, other: &Row) -> bool[src]
impl Copy for Row[src]
impl Eq for Row[src]
impl Ord for Row[src]
fn cmp(&self, other: &Row) -> Ordering[src]
fn max(self, other: Self) -> Self1.21.0[src]
fn min(self, other: Self) -> Self1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self[src]
impl PartialEq<Row> for Row[src]
impl Debug for Row[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 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.
#[must_use]
fn sub(self, rhs: Self) -> Rows[src]
impl Add<Column> for Row[src]
type Output = Location
The resulting type after applying the + operator.
#[must_use]
fn add(self, rhs: Column) -> Location[src]
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<Row> for Column[src]
type Output = Location
The resulting type after applying the + operator.
#[must_use]
fn add(self, rhs: Row) -> Location[src]
impl AddAssign<Rows> for Row[src]
fn add_assign(&mut self, rhs: Rows)[src]
impl SubAssign<Rows> for Row[src]
fn sub_assign(&mut self, rhs: Rows)[src]
impl Hash for Row[src]
Auto Trait Implementations
impl Send for Row
impl Sync for Row
impl Unpin for Row
impl RefUnwindSafe for Row
impl UnwindSafe for Row
Blanket Implementations
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
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> 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> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,