[][src]Struct climeta::Cache

pub struct Cache<'db> { /* fields omitted */ }

Methods

impl<'db> Cache<'db>[src]

pub fn new() -> Cache<'db>[src]

pub fn insert(&'db self, database: Database<'db>) -> &'db Database<'db>[src]

pub fn find(
    &'db self,
    type_namespace: &str,
    type_name: &str
) -> Option<TypeDef<'db>>
[src]

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

Trait Implementations

impl<'db> Default for Cache<'db>[src]

impl<'db> IntoIterator for &'db Cache<'db>[src]

type Item = &'db Database<'db>

The type of the elements being iterated over.

type IntoIter = DatabaseIter<'db>

Which kind of iterator are we turning this into?

Auto Trait Implementations

impl<'db> Send for Cache<'db>

impl<'db> !Sync for Cache<'db>

Blanket Implementations

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

impl<T> From<T> for 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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Erased for T[src]