pub enum Buffer {
}Expand description
The elements of an array of any element type.
Variants§
Bool(Vec<bool>)
bool elements.
I8(Vec<i8>)
i8 elements.
I16(Vec<i16>)
i16 elements.
I32(Vec<i32>)
i32 elements.
I64(Vec<i64>)
i64 elements.
U8(Vec<u8>)
u8 elements.
U16(Vec<u16>)
u16 elements.
U32(Vec<u32>)
u32 elements.
U64(Vec<u64>)
u64 elements.
F16(Vec<f16>)
f16 elements.
BF16(Vec<bf16>)
bf16 elements.
F32(Vec<f32>)
f32 elements.
F64(Vec<f64>)
f64 elements.
C64(Vec<c64>)
c64 elements.
C128(Vec<c128>)
c128 elements.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Buffer
Auto Trait Implementations§
impl Freeze for Buffer
impl RefUnwindSafe for Buffer
impl Send for Buffer
impl Sync for Buffer
impl Unpin for Buffer
impl UnsafeUnpin for Buffer
impl UnwindSafe for Buffer
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