pub struct ManagedVecItemEmptyPayload;
Expand description
Empty ManagedVecItem.
Only used as type, never as implementation, since all ManagedVecItem have some data in them.
Trait Implementations§
Source§impl ManagedVecItemPayload for ManagedVecItemEmptyPayload
impl ManagedVecItemPayload for ManagedVecItemEmptyPayload
fn new_buffer() -> Self
fn payload_size() -> usize
fn payload_slice(&self) -> &[u8] ⓘ
fn payload_slice_mut(&mut self) -> &mut [u8] ⓘ
Source§unsafe fn slice_unchecked<S: ManagedVecItemPayload>(&self, _index: usize) -> &S
unsafe fn slice_unchecked<S: ManagedVecItemPayload>(&self, _index: usize) -> &S
Takes a sub-payload item. Read more
Source§unsafe fn slice_unchecked_mut<S: ManagedVecItemPayload>(
&mut self,
_index: usize,
) -> &mut S
unsafe fn slice_unchecked_mut<S: ManagedVecItemPayload>( &mut self, _index: usize, ) -> &mut S
Takes a sub-payload item. Read more
Auto Trait Implementations§
impl Freeze for ManagedVecItemEmptyPayload
impl RefUnwindSafe for ManagedVecItemEmptyPayload
impl Send for ManagedVecItemEmptyPayload
impl Sync for ManagedVecItemEmptyPayload
impl Unpin for ManagedVecItemEmptyPayload
impl UnwindSafe for ManagedVecItemEmptyPayload
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