Struct liner::Buffer [] [src]

pub struct Buffer { /* fields omitted */ }

Methods

impl Buffer
[src]

Returns the number of characters removed.

Takes other buffer, measures its length and prints this buffer from the point where the other stopped. Used to implement autosuggestions.

Check if the other buffer starts with the same content as this one. Used to implement autosuggestions.

Trait Implementations

impl Debug for Buffer
[src]

Formats the value using the given formatter.

impl Clone for Buffer
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl From<String> for Buffer
[src]

Performs the conversion.

impl<'a> From<&'a str> for Buffer
[src]

Performs the conversion.

impl Display for Buffer
[src]

Formats the value using the given formatter. Read more

impl FromIterator<char> for Buffer
[src]

Creates a value from an iterator. Read more