[−][src]Trait zc::Owner
Represents the owner of data with an associated storage type.
An Owner
is a convenience trait that can be implemented without the need
of unsafe
that returns a Storage
that does require an unsafe
implementation. See the notes on Storage
to see why this it is required.
Associated Types
Loading content...Required methods
pub fn into_storage(self) -> Self::Storage
[src]
Consumes the Owner
into the associated Storage
type.
pub fn from_storage(storage: Self::Storage) -> Self
[src]
Consumes the associated Storage
into the Owner
type.
Implementations on Foreign Types
impl Owner for UniqueString
[src]
type Storage = AliasableString
pub fn into_storage(self) -> Self::Storage
[src]
pub fn from_storage(storage: Self::Storage) -> Self
[src]
impl<T: 'static> Owner for UniqueVec<T>
[src]
type Storage = AliasableVec<T>
pub fn into_storage(self) -> Self::Storage
[src]
pub fn from_storage(storage: Self::Storage) -> Self
[src]
Implementors
impl<T> Owner for T where
T: Storage,
[src]
T: Storage,