pub struct StartStopContainer<CVar = Vec<u8>> {
pub variant: CVar,
}
Expand description
Derived columnar container for all-unit enum.
Fields§
§variant: CVar
Container for variant.
Trait Implementations§
Source§impl<'a, CVar: AsBytes<'a>> AsBytes<'a> for StartStopContainer<CVar>
impl<'a, CVar: AsBytes<'a>> AsBytes<'a> for StartStopContainer<CVar>
Source§impl<CVar: Clear> Clear for StartStopContainer<CVar>
impl<CVar: Clear> Clear for StartStopContainer<CVar>
Source§impl<CVar: Clone> Clone for StartStopContainer<CVar>
impl<CVar: Clone> Clone for StartStopContainer<CVar>
Source§fn clone(&self) -> StartStopContainer<CVar>
fn clone(&self) -> StartStopContainer<CVar>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<CV: PushIndexAs<u8>> Container for StartStopContainer<CV>
impl<CV: PushIndexAs<u8>> Container for StartStopContainer<CV>
Source§type Borrowed<'a> = StartStopContainer<<CV as Container>::Borrowed<'a>>
where
CV: 'a
type Borrowed<'a> = StartStopContainer<<CV as Container>::Borrowed<'a>> where CV: 'a
The type of a borrowed container. Read more
Source§fn borrow<'a>(&'a self) -> Self::Borrowed<'a>
fn borrow<'a>(&'a self) -> Self::Borrowed<'a>
Converts a reference to the type to a borrowed variant.
Source§fn reborrow<'b, 'a: 'b>(thing: Self::Borrowed<'a>) -> Self::Borrowed<'b>
fn reborrow<'b, 'a: 'b>(thing: Self::Borrowed<'a>) -> Self::Borrowed<'b>
Reborrows the borrowed type to a shorter lifetime. See
Columnar::reborrow
for details.Source§fn reborrow_ref<'b, 'a: 'b>(thing: Self::Ref<'a>) -> Self::Ref<'b>
fn reborrow_ref<'b, 'a: 'b>(thing: Self::Ref<'a>) -> Self::Ref<'b>
Reborrows the borrowed type to a shorter lifetime. See
Columnar::reborrow
for details.fn reserve_for<'a, I>(&mut self, selves: I)
Source§fn with_capacity_for<'a, I>(selves: I) -> Self
fn with_capacity_for<'a, I>(selves: I) -> Self
Allocates an empty container that can be extended by
selves
without reallocation. Read moreSource§impl<CVar: Debug> Debug for StartStopContainer<CVar>
impl<CVar: Debug> Debug for StartStopContainer<CVar>
Source§impl<CVar: Default> Default for StartStopContainer<CVar>
impl<CVar: Default> Default for StartStopContainer<CVar>
Source§fn default() -> StartStopContainer<CVar>
fn default() -> StartStopContainer<CVar>
Returns the “default value” for a type. Read more
Source§impl<'columnar, CVar: FromBytes<'columnar>> FromBytes<'columnar> for StartStopContainer<CVar>
impl<'columnar, CVar: FromBytes<'columnar>> FromBytes<'columnar> for StartStopContainer<CVar>
Source§impl<'columnar, CVar: Len + IndexAs<u8>> Index for &'columnar StartStopContainer<CVar>
impl<'columnar, CVar: Len + IndexAs<u8>> Index for &'columnar StartStopContainer<CVar>
Source§impl<CVar: Len + IndexAs<u8>> Index for StartStopContainer<CVar>
impl<CVar: Len + IndexAs<u8>> Index for StartStopContainer<CVar>
Source§impl<CVar: Len> Len for StartStopContainer<CVar>
impl<CVar: Len> Len for StartStopContainer<CVar>
Source§impl<'columnar> Push<&'columnar StartStop> for StartStopContainer
impl<'columnar> Push<&'columnar StartStop> for StartStopContainer
Source§impl<CV: PushIndexAs<u8>> Push<StartStop> for StartStopContainer<CV>
impl<CV: PushIndexAs<u8>> Push<StartStop> for StartStopContainer<CV>
impl<CVar: Copy> Copy for StartStopContainer<CVar>
Auto Trait Implementations§
impl<CVar> Freeze for StartStopContainer<CVar>where
CVar: Freeze,
impl<CVar> RefUnwindSafe for StartStopContainer<CVar>where
CVar: RefUnwindSafe,
impl<CVar> Send for StartStopContainer<CVar>where
CVar: Send,
impl<CVar> Sync for StartStopContainer<CVar>where
CVar: Sync,
impl<CVar> Unpin for StartStopContainer<CVar>where
CVar: Unpin,
impl<CVar> UnwindSafe for StartStopContainer<CVar>where
CVar: UnwindSafe,
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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