pub unsafe trait BorrowStorable where
    Self: Sized + Borrow<Self::Stored> + Ord
{ type Stored: ?Sized + StorableWithOwned<Self>; fn borrow_storable(&self) -> &Self::Stored { ... } }
Expand description

Types that can be borrowed as a type that is Storable

Automatically implemented for:

Required Associated Types

Borrowed Storable type

Provided Methods

Borrows as BorrowStorable::Stored

Does the same as Borrow::borrow, but aids type inference

Implementations on Foreign Types

Implementors