pub trait Storage {
type Storage: ?Sized;
// Required method
fn storage(&self) -> &Self::Storage;
}Expand description
Get an immutable reference to the underlying storage type.
Required Associated Types§
Required Methods§
Implementations on Foreign Types§
Source§impl<S: Storage<Storage = S>, T: Storage<Storage = T>> Storage for (S, T)
We can only provide a reference to the underlying storage of a tuple if the
tuple is made up of storage type collections itself. In this case the
storage is the tuple itself.
impl<S: Storage<Storage = S>, T: Storage<Storage = T>> Storage for (S, T)
We can only provide a reference to the underlying storage of a tuple if the tuple is made up of storage type collections itself. In this case the storage is the tuple itself.