[−][src]Struct alacritty_terminal::selection::SelectionRange
Represents a range of selected cells.
Fields
start: Point<L>
Start point, top left of the selection.
end: Point<L>
End point, bottom right of the selection.
is_block: bool
Whether this selection is a block selection.
Implementations
impl<L> SelectionRange<L>
[src]
pub fn new(start: Point<L>, end: Point<L>, is_block: bool) -> Self
[src]
pub fn contains(&self, col: Column, line: L) -> bool where
L: PartialEq + PartialOrd,
[src]
L: PartialEq + PartialOrd,
Trait Implementations
impl<L: Clone> Clone for SelectionRange<L>
[src]
fn clone(&self) -> SelectionRange<L>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<L: Copy> Copy for SelectionRange<L>
[src]
impl<L: Debug> Debug for SelectionRange<L>
[src]
impl<L: Eq> Eq for SelectionRange<L>
[src]
impl<L: PartialEq> PartialEq<SelectionRange<L>> for SelectionRange<L>
[src]
fn eq(&self, other: &SelectionRange<L>) -> bool
[src]
fn ne(&self, other: &SelectionRange<L>) -> bool
[src]
impl<L> StructuralEq for SelectionRange<L>
[src]
impl<L> StructuralPartialEq for SelectionRange<L>
[src]
Auto Trait Implementations
impl<L> RefUnwindSafe for SelectionRange<L> where
L: RefUnwindSafe,
L: RefUnwindSafe,
impl<L> Send for SelectionRange<L> where
L: Send,
L: Send,
impl<L> Sync for SelectionRange<L> where
L: Sync,
L: Sync,
impl<L> Unpin for SelectionRange<L> where
L: Unpin,
L: Unpin,
impl<L> UnwindSafe for SelectionRange<L> where
L: UnwindSafe,
L: UnwindSafe,
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 = 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>,