Struct pty_proc::shell::display::Newline
[−]
[src]
pub struct Newline { /* fields omitted */ }
Methods
impl Newline
[src]
pub fn get_row(&self) -> &[Coordinate; 1000]
[src]
pub fn get_index(&self) -> size_t
[src]
pub fn scroll_down(&mut self, resize: Coordinate)
[src]
pub fn scroll_up(&mut self, resize: Coordinate, base: &size_t)
[src]
pub fn push(&mut self, item: Coordinate)
[src]
pub fn reverse(&mut self)
[src]
pub fn dedup(&mut self)
[src]
pub fn sort_by(&mut self)
[src]
pub fn remove(&mut self, at: usize)
[src]
pub fn clear(&mut self)
[src]
pub fn is_empty(&self) -> bool
[src]
Trait Implementations
impl Index<usize> for Newline
[src]
type Output = Coordinate
The returned type after indexing.
fn index(&self, index: usize) -> &Coordinate
[src]
Performs the indexing (container[index]
) operation.
impl IndexMut<usize> for Newline
[src]
fn index_mut(&mut self, index: usize) -> &mut Coordinate
[src]
Performs the mutable indexing (container[index]
) operation.
impl<'a> IntoIterator for &'a Newline
[src]
type Item = &'a Coordinate
The type of the elements being iterated over.
type IntoIter = Take<Iter<'a, Coordinate>>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
Creates an iterator from a value. Read more
impl From<Vec<(size_t, size_t)>> for Newline
[src]
impl From<Vec<Coordinate>> for Newline
[src]
fn from(rhs: Vec<Coordinate>) -> Newline
[src]
Performs the conversion.
impl From<Winszed> for Newline
[src]
impl PartialEq for Newline
[src]
fn eq(&self, rhs: &Newline) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Clone for Newline
[src]
fn clone(&self) -> Newline
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Newline
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more