[][src]Struct alacritty::index::Point

pub struct Point<L = Line> {
    pub line: L,
    pub col: Column,
}

Index in the grid using row, column notation

Fields

line: Lcol: Column

Methods

impl<L> Point<L>[src]

pub fn new(line: L, col: Column) -> Point<L>[src]

Trait Implementations

impl<L: Default> Default for Point<L>[src]

impl<L: Clone> Clone for Point<L>[src]

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

Performs copy-assignment from source. Read more

impl Ord for Point[src]

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

Compares and returns the maximum of two values. Read more

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

Compares and returns the minimum of two values. Read more

impl From<Point<usize>> for Point<isize>[src]

impl From<Point<isize>> for Point<usize>[src]

impl From<Point<Line>> for Point<usize>[src]

impl<'_> From<&'_ RenderableCell> for Point<Line>[src]

impl<L: Eq> Eq for Point<L>[src]

impl<L: Copy> Copy for Point<L>[src]

impl<L: PartialOrd> PartialOrd<Point<L>> for Point<L>[src]

impl<L: PartialEq> PartialEq<Point<L>> for Point<L>[src]

impl<'point, T> Index<&'point Point<Line>> for Grid<T>[src]

type Output = T

The returned type after indexing.

impl<'point, T> IndexMut<&'point Point<Line>> for Grid<T>[src]

impl<L: Debug> Debug for Point<L>[src]

impl<L> Serialize for Point<L> where
    L: Serialize
[src]

impl<'de, L> Deserialize<'de> for Point<L> where
    L: Deserialize<'de>, 
[src]

Auto Trait Implementations

impl<L> Send for Point<L> where
    L: Send

impl<L> Sync for Point<L> where
    L: Sync

Blanket Implementations

impl<T> From for T[src]

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

fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
    T: Parameter<Self>, 
[src]

Sets value as a parameter of self.

impl<T> Erased for T[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]