pub enum CpuStorageRefMut<'a> {
BF16(&'a mut [bf16]),
F16(&'a mut [f16]),
F32(&'a mut [f32]),
I32(&'a mut [i32]),
I64(&'a mut [i64]),
}Variants§
Implementations§
Trait Implementations§
Source§impl<'a> Debug for CpuStorageRefMut<'a>
impl<'a> Debug for CpuStorageRefMut<'a>
Source§impl<'a> From<&'a mut [bf16]> for CpuStorageRefMut<'a>
impl<'a> From<&'a mut [bf16]> for CpuStorageRefMut<'a>
Source§fn from(value: &'a mut [bf16]) -> CpuStorageRefMut<'a>
fn from(value: &'a mut [bf16]) -> CpuStorageRefMut<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a mut [f16]> for CpuStorageRefMut<'a>
impl<'a> From<&'a mut [f16]> for CpuStorageRefMut<'a>
Source§fn from(value: &'a mut [f16]) -> CpuStorageRefMut<'a>
fn from(value: &'a mut [f16]) -> CpuStorageRefMut<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a mut [f32]> for CpuStorageRefMut<'a>
impl<'a> From<&'a mut [f32]> for CpuStorageRefMut<'a>
Source§fn from(value: &'a mut [f32]) -> CpuStorageRefMut<'a>
fn from(value: &'a mut [f32]) -> CpuStorageRefMut<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a mut [i32]> for CpuStorageRefMut<'a>
impl<'a> From<&'a mut [i32]> for CpuStorageRefMut<'a>
Source§fn from(value: &'a mut [i32]) -> CpuStorageRefMut<'a>
fn from(value: &'a mut [i32]) -> CpuStorageRefMut<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a mut [i64]> for CpuStorageRefMut<'a>
impl<'a> From<&'a mut [i64]> for CpuStorageRefMut<'a>
Source§fn from(value: &'a mut [i64]) -> CpuStorageRefMut<'a>
fn from(value: &'a mut [i64]) -> CpuStorageRefMut<'a>
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> Freeze for CpuStorageRefMut<'a>
impl<'a> RefUnwindSafe for CpuStorageRefMut<'a>
impl<'a> Send for CpuStorageRefMut<'a>
impl<'a> Sync for CpuStorageRefMut<'a>
impl<'a> Unpin for CpuStorageRefMut<'a>
impl<'a> !UnwindSafe for CpuStorageRefMut<'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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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