pub struct MutView<'a, B: BufferMut + ?Sized> { /* private fields */ }Expand description
A writable receive buffer that scatters incoming bytes into a base buffer
according to a UserDatatype layout. Mirrors rsmpi’s MutView.
Implementations§
Trait Implementations§
Source§impl<B: BufferMut + ?Sized> BufferMut for MutView<'_, B>
impl<B: BufferMut + ?Sized> BufferMut for MutView<'_, B>
Source§fn as_bytes_mut(&mut self) -> &mut [u8] ⓘ
fn as_bytes_mut(&mut self) -> &mut [u8] ⓘ
A mutable byte view of the whole buffer.
Source§fn scatter_from(&mut self, bytes: &[u8])
fn scatter_from(&mut self, bytes: &[u8])
Place received
bytes into this buffer. Read moreSource§impl<B: BufferMut + ?Sized> Collection for MutView<'_, B>
impl<B: BufferMut + ?Sized> Collection for MutView<'_, B>
Source§fn as_datatype(&self) -> DatatypeRef
fn as_datatype(&self) -> DatatypeRef
The datatype of the elements.
Auto Trait Implementations§
impl<'a, B> !UnwindSafe for MutView<'a, B>
impl<'a, B> Freeze for MutView<'a, B>where
B: ?Sized,
impl<'a, B> RefUnwindSafe for MutView<'a, B>where
B: RefUnwindSafe + ?Sized,
impl<'a, B> Send for MutView<'a, B>
impl<'a, B> Sync for MutView<'a, B>
impl<'a, B> Unpin for MutView<'a, B>where
B: ?Sized,
impl<'a, B> UnsafeUnpin for MutView<'a, B>where
B: ?Sized,
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