[][src]Struct asciii::storage::storable::StorableAndTempDir

pub struct StorableAndTempDir<S: Storable> {
    pub storable: S,
    pub temp_dir: TempDir,
}

Fields

Trait Implementations

impl<S: Storable> DerefMut for StorableAndTempDir<S>
[src]

Mutably dereferences the value.

impl<S: Storable> Deref for StorableAndTempDir<S>
[src]

The resulting type after dereferencing.

Dereferences the value.

Auto Trait Implementations

impl<S> Send for StorableAndTempDir<S>

impl<S> Sync for StorableAndTempDir<S>

Blanket Implementations

impl<U> IsKeyword for U where
    U: Deref<Target = str>, 
[src]

Checks if the whole string is a keyword

Captures keywords from string.

Well, it lists the keywords in a string, duh!

This one is usefull.

Takes a clorsure that replaces keywords. Careful, this replaces either way! If you get a keywords you don't want to replace, please place it back where you got it from.

Example

This example is not tested
.map_keywords|keyword| match data.get(keyword){
    Some(content) => String::from(*content),
    None => format!("##{}##", keyword)
}

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

Performs the conversion.

impl<T> From for T
[src]

Performs the conversion.

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

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

Immutably borrows from an owned value. Read more

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

Mutably borrows from an owned value. Read more

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

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

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more