Trait fixity::core::storage::AsStorageRef[][src]

pub trait AsStorageRef {
    type Storage: Storage;
    fn as_storage_ref(&self) -> &Self::Storage;
}

A helper trait to allow a single T to return references to both a Workspace and a Storage.

See Commit for example usage.

Associated Types

Loading content...

Required methods

fn as_storage_ref(&self) -> &Self::Storage[src]

Loading content...

Implementors

Loading content...