Trait flatk::Storage[][src]

pub trait Storage {
    type Storage: ?Sized;
    fn storage(&self) -> &Self::Storage;
}
Expand description

Get an immutable reference to the underlying storage type.

Associated Types

Required methods

Implementations on Foreign Types

A range is a type of storage, simply return an immutable reference to self.

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.

Vec is a type of storage, simply return an immutable reference to self.

Implementors