[][src]Struct teehee::Buffers

pub struct Buffers { /* fields omitted */ }

Implementations

impl Buffers[src]

pub fn new() -> Buffers[src]

pub fn with_buffer(buf: Buffer) -> Buffers[src]

pub fn current(&self) -> &Buffer[src]

pub fn current_mut(&mut self) -> &mut Buffer[src]

pub fn iter(&self) -> impl Iterator<Item = &Buffer>[src]

pub fn iter_mut(&mut self) -> impl Iterator<Item = &mut Buffer>[src]

pub fn switch_buffer(&mut self, filename: impl AsRef<Path>) -> Result<(), Error>[src]

pub fn delete_current(&mut self)[src]

Auto Trait Implementations

impl RefUnwindSafe for Buffers

impl Send for Buffers

impl Sync for Buffers

impl Unpin for Buffers

impl UnwindSafe for Buffers

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.