Struct timely::progress::PortContainer
source · pub struct PortContainer<C0, C1, CVar = Vec<u8>, COff = Vec<u64>> {
pub Target: C0,
pub Source: C1,
pub variant: CVar,
pub offset: COff,
}
Expand description
Derived columnar container for an enum.
Fields§
§Target: C0
Container for #names.
Source: C1
Container for #names.
variant: CVar
Container for variant.
offset: COff
Container for offset.
Trait Implementations§
source§impl<'a, C0, C1, CVar, COff> AsBytes<'a> for PortContainer<C0, C1, CVar, COff>
impl<'a, C0, C1, CVar, COff> AsBytes<'a> for PortContainer<C0, C1, CVar, COff>
source§impl<C0, C1> Clear for PortContainer<C0, C1>
impl<C0, C1> Clear for PortContainer<C0, C1>
source§impl<C0: Clone, C1: Clone, CVar: Clone, COff: Clone> Clone for PortContainer<C0, C1, CVar, COff>
impl<C0: Clone, C1: Clone, CVar: Clone, COff: Clone> Clone for PortContainer<C0, C1, CVar, COff>
source§fn clone(&self) -> PortContainer<C0, C1, CVar, COff>
fn clone(&self) -> PortContainer<C0, C1, CVar, COff>
Returns a copy 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 Container<Port> for PortContainer<<usize as Columnar>::Container, <usize as Columnar>::Container>
impl Container<Port> for PortContainer<<usize as Columnar>::Container, <usize as Columnar>::Container>
source§impl<C0: Debug, C1: Debug, CVar: Debug, COff: Debug> Debug for PortContainer<C0, C1, CVar, COff>
impl<C0: Debug, C1: Debug, CVar: Debug, COff: Debug> Debug for PortContainer<C0, C1, CVar, COff>
source§impl<C0: Default, C1: Default, CVar: Default, COff: Default> Default for PortContainer<C0, C1, CVar, COff>
impl<C0: Default, C1: Default, CVar: Default, COff: Default> Default for PortContainer<C0, C1, CVar, COff>
source§fn default() -> PortContainer<C0, C1, CVar, COff>
fn default() -> PortContainer<C0, C1, CVar, COff>
Returns the “default value” for a type. Read more
source§impl<'de, C0, C1, CVar, COff> Deserialize<'de> for PortContainer<C0, C1, CVar, COff>
impl<'de, C0, C1, CVar, COff> Deserialize<'de> for PortContainer<C0, C1, CVar, COff>
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<'columnar, C0, C1, CVar, COff> FromBytes<'columnar> for PortContainer<C0, C1, CVar, COff>
impl<'columnar, C0, C1, CVar, COff> FromBytes<'columnar> for PortContainer<C0, C1, CVar, COff>
source§impl<'columnar, C0, C1, CVal, COff> Index for &'columnar PortContainer<C0, C1, CVal, COff>where
&'columnar C0: Index,
&'columnar C1: Index,
CVal: Len + IndexAs<u8>,
COff: Len + IndexAs<u64>,
impl<'columnar, C0, C1, CVal, COff> Index for &'columnar PortContainer<C0, C1, CVal, COff>where
&'columnar C0: Index,
&'columnar C1: Index,
CVal: Len + IndexAs<u8>,
COff: Len + IndexAs<u64>,
§type Ref = PortReference<<&'columnar C0 as Index>::Ref, <&'columnar C1 as Index>::Ref>
type Ref = PortReference<<&'columnar C0 as Index>::Ref, <&'columnar C1 as Index>::Ref>
The type returned by the
get
method. Read morefn get(&self, index: usize) -> Self::Ref
fn last(&self) -> Option<Self::Ref>where
Self: Len,
fn iter(&self) -> IterOwn<&Self>
fn into_iter(self) -> IterOwn<Self>where
Self: Sized,
source§impl<C0, C1, CVal, COff> Index for PortContainer<C0, C1, CVal, COff>
impl<C0, C1, CVal, COff> Index for PortContainer<C0, C1, CVal, COff>
§type Ref = PortReference<<C0 as Index>::Ref, <C1 as Index>::Ref>
type Ref = PortReference<<C0 as Index>::Ref, <C1 as Index>::Ref>
The type returned by the
get
method. Read morefn get(&self, index: usize) -> Self::Ref
fn last(&self) -> Option<Self::Ref>where
Self: Len,
fn iter(&self) -> IterOwn<&Self>
fn into_iter(self) -> IterOwn<Self>where
Self: Sized,
source§impl<C0, C1, CVar, COff> Len for PortContainer<C0, C1, CVar, COff>where
CVar: Len,
impl<C0, C1, CVar, COff> Len for PortContainer<C0, C1, CVar, COff>where
CVar: Len,
source§impl<'columnar, C0, C1> Push<&'columnar Port> for PortContainer<C0, C1>
impl<'columnar, C0, C1> Push<&'columnar Port> for PortContainer<C0, C1>
source§impl<C0, C1> Push<Port> for PortContainer<C0, C1>
impl<C0, C1> Push<Port> for PortContainer<C0, C1>
source§impl<C0, C1, R0, R1> Push<PortReference<R0, R1>> for PortContainer<C0, C1>
impl<C0, C1, R0, R1> Push<PortReference<R0, R1>> for PortContainer<C0, C1>
source§fn push(&mut self, item: PortReference<R0, R1>)
fn push(&mut self, item: PortReference<R0, R1>)
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<C0, C1, CVar, COff> Serialize for PortContainer<C0, C1, CVar, COff>
impl<C0, C1, CVar, COff> Serialize for PortContainer<C0, C1, CVar, COff>
impl<C0: Copy, C1: Copy, CVar: Copy, COff: Copy> Copy for PortContainer<C0, C1, CVar, COff>
Auto Trait Implementations§
impl<C0, C1, CVar, COff> Freeze for PortContainer<C0, C1, CVar, COff>
impl<C0, C1, CVar, COff> RefUnwindSafe for PortContainer<C0, C1, CVar, COff>
impl<C0, C1, CVar, COff> Send for PortContainer<C0, C1, CVar, COff>
impl<C0, C1, CVar, COff> Sync for PortContainer<C0, C1, CVar, COff>
impl<C0, C1, CVar, COff> Unpin for PortContainer<C0, C1, CVar, COff>
impl<C0, C1, CVar, COff> UnwindSafe for PortContainer<C0, C1, CVar, COff>
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)