[][src]Struct alacritty::index::Line

pub struct Line(pub usize);

A line

Newtype to avoid passing values incorrectly

Trait Implementations

impl Default for Line[src]

impl Clone for Line[src]

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

Performs copy-assignment from source. Read more

impl Ord for Line[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<usize> for Line[src]

impl Eq for Line[src]

impl Copy for Line[src]

impl PartialOrd<Line> for Line[src]

impl PartialEq<Line> for Line[src]

impl Add<Line> for Line[src]

type Output = Line

The resulting type after applying the + operator.

impl<'a> Add<Line> for &'a Line[src]

type Output = <Line as Add<Line>>::Output

The resulting type after applying the + operator.

impl<'a> Add<&'a Line> for Line[src]

type Output = <Line as Add<Line>>::Output

The resulting type after applying the + operator.

impl<'a, 'b> Add<&'a Line> for &'b Line[src]

type Output = <Line as Add<Line>>::Output

The resulting type after applying the + operator.

impl Add<usize> for Line[src]

type Output = Line

The resulting type after applying the + operator.

impl Sub<Line> for Line[src]

type Output = Line

The resulting type after applying the - operator.

impl<'a> Sub<Line> for &'a Line[src]

type Output = Line

The resulting type after applying the - operator.

impl<'a> Sub<&'a Line> for Line[src]

type Output = Line

The resulting type after applying the - operator.

impl<'a, 'b> Sub<&'a Line> for &'b Line[src]

type Output = Line

The resulting type after applying the - operator.

impl Sub<usize> for Line[src]

type Output = Line

The resulting type after applying the - operator.

impl AddAssign<Line> for Line[src]

impl AddAssign<usize> for Line[src]

impl SubAssign<Line> for Line[src]

impl SubAssign<usize> for Line[src]

impl Deref for Line[src]

type Target = usize

The resulting type after dereferencing.

impl<T> Index<Line> for Grid<T>[src]

Index active region by line

type Output = Row<T>

The returned type after indexing.

impl<T> IndexMut<Line> for Grid<T>[src]

impl Display for Line[src]

impl Debug for Line[src]

impl Serialize for Line[src]

impl<'de> Deserialize<'de> for Line[src]

Auto Trait Implementations

impl Send for Line

impl Sync for Line

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> ToString for T where
    T: Display + ?Sized
[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> 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]