pub enum StorageView<'a> {
Cpu(CpuStorageView<'a>),
}Variants§
Cpu(CpuStorageView<'a>)
Trait Implementations§
Source§impl<'a> AsRef<StorageView<'a>> for StorageView<'a>
impl<'a> AsRef<StorageView<'a>> for StorageView<'a>
Source§fn as_ref(&self) -> &StorageView<'a>
fn as_ref(&self) -> &StorageView<'a>
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl<'a> Clone for StorageView<'a>
impl<'a> Clone for StorageView<'a>
Source§fn clone(&self) -> StorageView<'a>
fn clone(&self) -> StorageView<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> StorageProto for StorageView<'a>
impl<'a> StorageProto for StorageView<'a>
Auto Trait Implementations§
impl<'a> !Send for StorageView<'a>
impl<'a> !Sync for StorageView<'a>
impl<'a> !UnwindSafe for StorageView<'a>
impl<'a> Freeze for StorageView<'a>
impl<'a> RefUnwindSafe for StorageView<'a>
impl<'a> Unpin for StorageView<'a>
impl<'a> UnsafeUnpin for StorageView<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more