pub struct ArrayVecBuffer<'data, A: 'data + Array<Item = u8>> { /* private fields */ }
Expand description
The intermediate step from a ArrayVec
to a BufferRef
.
Trait Implementations§
Source§impl<'d, A: Array<Item = u8>> ToBufferRef<'d> for ArrayVecBuffer<'d, A>
impl<'d, A: Array<Item = u8>> ToBufferRef<'d> for ArrayVecBuffer<'d, A>
Source§fn to_buffer_ref<'s>(&'s mut self) -> BufferRef<'d, 's>
fn to_buffer_ref<'s>(&'s mut self) -> BufferRef<'d, 's>
Second step to convert a
T: Buffer
to a BufferRef
.Auto Trait Implementations§
impl<'data, A> Freeze for ArrayVecBuffer<'data, A>
impl<'data, A> RefUnwindSafe for ArrayVecBuffer<'data, A>
impl<'data, A> Send for ArrayVecBuffer<'data, A>
impl<'data, A> Sync for ArrayVecBuffer<'data, A>
impl<'data, A> Unpin for ArrayVecBuffer<'data, A>
impl<'data, A> !UnwindSafe for ArrayVecBuffer<'data, 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