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() -> ManagedVecItemEmptyPayload
fn payload_size() -> usize
fn payload_slice(&self) -> &[u8] ⓘ
fn payload_slice_mut(&mut self) -> &mut [u8] ⓘ
Source§unsafe fn slice_unchecked<S>(&self, _index: usize) -> &Swhere
S: ManagedVecItemPayload,
unsafe fn slice_unchecked<S>(&self, _index: usize) -> &Swhere
S: ManagedVecItemPayload,
Takes a sub-payload item. Read more
Source§unsafe fn slice_unchecked_mut<S>(&mut self, _index: usize) -> &mut Swhere
S: ManagedVecItemPayload,
unsafe fn slice_unchecked_mut<S>(&mut self, _index: usize) -> &mut Swhere
S: ManagedVecItemPayload,
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
Source§impl<T> InterpretableFrom<T> for T
impl<T> InterpretableFrom<T> for T
fn interpret_from(from: T, _context: &InterpreterContext) -> T
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