[][src]Struct lolcow_fortune::Strfile

pub struct Strfile { /* fields omitted */ }

Implementations

impl Strfile[src]

pub fn new(strfile: &Path, datfile: &Path) -> Result<Self, StrfileError>[src]

pub fn version(&self) -> u32[src]

pub fn count(&self) -> u32[src]

pub fn max_length(&self) -> u32[src]

pub fn min_length(&self) -> u32[src]

pub fn is_encrypted(&self) -> bool[src]

pub fn delim(&self) -> char[src]

pub fn random_quote(&mut self) -> Result<String, StrfileError>[src]

pub fn get_quote(&mut self, index: usize) -> Result<String, StrfileError>[src]

Auto Trait Implementations

impl RefUnwindSafe for Strfile

impl Send for Strfile

impl Sync for Strfile

impl Unpin for Strfile

impl UnwindSafe for Strfile

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,