pub struct CommChannelKindContainer<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 CommChannelKindContainer<CVar>
impl<'a, CVar: AsBytes<'a>> AsBytes<'a> for CommChannelKindContainer<CVar>
Source§impl<CVar: Clear> Clear for CommChannelKindContainer<CVar>
impl<CVar: Clear> Clear for CommChannelKindContainer<CVar>
Source§impl<CVar: Clone> Clone for CommChannelKindContainer<CVar>
impl<CVar: Clone> Clone for CommChannelKindContainer<CVar>
Source§fn clone(&self) -> CommChannelKindContainer<CVar>
fn clone(&self) -> CommChannelKindContainer<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 CommChannelKindContainer<CV>
impl<CV: PushIndexAs<u8>> Container for CommChannelKindContainer<CV>
Source§type Ref<'a> = CommChannelKind
type Ref<'a> = CommChannelKind
For each lifetime, a reference with that lifetime. Read more
Source§type Borrowed<'a> = CommChannelKindContainer<<CV as Container>::Borrowed<'a>>
where
CV: 'a
type Borrowed<'a> = CommChannelKindContainer<<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 CommChannelKindContainer<CVar>
impl<CVar: Debug> Debug for CommChannelKindContainer<CVar>
Source§impl<CVar: Default> Default for CommChannelKindContainer<CVar>
impl<CVar: Default> Default for CommChannelKindContainer<CVar>
Source§fn default() -> CommChannelKindContainer<CVar>
fn default() -> CommChannelKindContainer<CVar>
Returns the “default value” for a type. Read more
Source§impl<'columnar, CVar: FromBytes<'columnar>> FromBytes<'columnar> for CommChannelKindContainer<CVar>
impl<'columnar, CVar: FromBytes<'columnar>> FromBytes<'columnar> for CommChannelKindContainer<CVar>
Source§impl<'columnar, CVar: Len + IndexAs<u8>> Index for &'columnar CommChannelKindContainer<CVar>
impl<'columnar, CVar: Len + IndexAs<u8>> Index for &'columnar CommChannelKindContainer<CVar>
Source§impl<CVar: Len + IndexAs<u8>> Index for CommChannelKindContainer<CVar>
impl<CVar: Len + IndexAs<u8>> Index for CommChannelKindContainer<CVar>
Source§impl<CVar: Len> Len for CommChannelKindContainer<CVar>
impl<CVar: Len> Len for CommChannelKindContainer<CVar>
Source§impl<'columnar> Push<&'columnar CommChannelKind> for CommChannelKindContainer
impl<'columnar> Push<&'columnar CommChannelKind> for CommChannelKindContainer
Source§fn push(&mut self, item: &'columnar CommChannelKind)
fn push(&mut self, item: &'columnar CommChannelKind)
Pushes an item onto
self
.Source§fn extend(&mut self, iter: impl IntoIterator<Item = T>)
fn extend(&mut self, iter: impl IntoIterator<Item = T>)
Pushes elements of an iterator onto
self
.Source§impl<CV: PushIndexAs<u8>> Push<CommChannelKind> for CommChannelKindContainer<CV>
impl<CV: PushIndexAs<u8>> Push<CommChannelKind> for CommChannelKindContainer<CV>
Source§fn push(&mut self, item: CommChannelKind)
fn push(&mut self, item: CommChannelKind)
Pushes an item onto
self
.Source§fn extend(&mut self, iter: impl IntoIterator<Item = T>)
fn extend(&mut self, iter: impl IntoIterator<Item = T>)
Pushes elements of an iterator onto
self
.impl<CVar: Copy> Copy for CommChannelKindContainer<CVar>
Auto Trait Implementations§
impl<CVar> Freeze for CommChannelKindContainer<CVar>where
CVar: Freeze,
impl<CVar> RefUnwindSafe for CommChannelKindContainer<CVar>where
CVar: RefUnwindSafe,
impl<CVar> Send for CommChannelKindContainer<CVar>where
CVar: Send,
impl<CVar> Sync for CommChannelKindContainer<CVar>where
CVar: Sync,
impl<CVar> Unpin for CommChannelKindContainer<CVar>where
CVar: Unpin,
impl<CVar> UnwindSafe for CommChannelKindContainer<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