[][src]Struct pear::StringFile

pub struct StringFile<'s> { /* fields omitted */ }

Methods

impl<'s> StringFile<'s>[src]

pub fn open(path: &str) -> Result<StringFile<'s>>[src]

pub fn open_with_cap(path: &str, cap: usize) -> Result<StringFile<'s>>[src]

pub fn new(file: File, cap: usize) -> StringFile<'s>[src]

pub fn available(&self) -> usize[src]

Trait Implementations

impl<'s> Debug for StringFile<'s>[src]

impl<'s> Input for StringFile<'s>[src]

type Token = char

type InSlice = &'s str

type Slice = &'s str

type Many = String

type Context = &'s str

Auto Trait Implementations

impl<'s> RefUnwindSafe for StringFile<'s>

impl<'s> Send for StringFile<'s>

impl<'s> Sync for StringFile<'s>

impl<'s> Unpin for StringFile<'s>

impl<'s> UnwindSafe for StringFile<'s>

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.