[][src]Struct atat::Buffer

pub struct Buffer<N: ArrayLength<u8>> {
    pub buffer: String<N>,
}

Fields

buffer: String<N>

Methods

impl<N> Buffer<N> where
    N: ArrayLength<u8>, 
[src]

pub fn new() -> Buffer<N>[src]

pub fn from(data: &[u8]) -> Buffer<N>[src]

pub fn take<L: ArrayLength<u8>>(&mut self, index: usize) -> String<L>[src]

pub fn remove_first(&mut self)[src]

pub fn remove_line<A: ArrayLength<u8>>(&mut self, line: &String<A>)[src]

pub fn at_lines<S: ArrayLength<u8>, L: ArrayLength<String<S>>>(
    &self,
    term_char: char,
    format_char: char
) -> Vec<String<S>, L>
[src]

pub fn push(&mut self, data: u8) -> Result<(), ()>[src]

Trait Implementations

impl<N: Default + ArrayLength<u8>> Default for Buffer<N>[src]

Auto Trait Implementations

impl<N> Send for Buffer<N>

impl<N> Sync for Buffer<N>

impl<N> Unpin for Buffer<N> where
    <N as ArrayLength<u8>>::ArrayType: Unpin

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> Same<T> for T

type Output = T

Should always be Self

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.