[−][src]Struct gridly::location::Column
Trait Implementations
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<Columns> for Column
[src]
type Output = Self
The resulting type after applying the +
operator.
#[must_use]
fn add(self, rhs: Columns) -> 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<Columns> for Column
[src]
fn add_assign(&mut self, rhs: Columns)
[src]
impl Clone for Column
[src]
impl Component for Column
[src]
type Converse = Row
type Distance = Columns
fn from_location<L: LocationLike>(location: L) -> Self
[src]
fn combine(self, other: Row) -> Location
[src]
fn name() -> &'static str
[src]
fn add_distance(self, distance: impl Into<Columns>) -> Self
[src]
fn distance_from(self, origin: Self) -> Columns
[src]
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 Copy for Column
[src]
impl Debug for Column
[src]
impl Default for Column
[src]
impl Eq for Column
[src]
impl From<isize> for Column
[src]
impl Hash for Column
[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 Ord for Column
[src]
fn cmp(&self, other: &Column) -> 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 PartialEq<Column> for Column
[src]
impl PartialOrd<Column> for Column
[src]
fn partial_cmp(&self, other: &Column) -> Option<Ordering>
[src]
fn lt(&self, other: &Column) -> bool
[src]
fn le(&self, other: &Column) -> bool
[src]
fn gt(&self, other: &Column) -> bool
[src]
fn ge(&self, other: &Column) -> bool
[src]
impl StructuralEq for Column
[src]
impl StructuralPartialEq for Column
[src]
impl Sub<Column> for Column
[src]
The difference between two location components is the distance between them
type Output = Columns
The resulting type after applying the -
operator.
#[must_use]
fn sub(self, rhs: Self) -> Columns
[src]
impl Sub<Columns> for Column
[src]
type Output = Self
The resulting type after applying the -
operator.
#[must_use]
fn sub(self, rhs: Columns) -> Self
[src]
impl SubAssign<Columns> for Column
[src]
fn sub_assign(&mut self, rhs: Columns)
[src]
Auto Trait Implementations
impl RefUnwindSafe for Column
impl Send for Column
impl Sync for Column
impl Unpin for Column
impl UnwindSafe for Column
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> 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 = !
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>,