pub struct TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, CVar = Vec<u8>, COff = Vec<u64>> {
pub Operates: C0,
pub Channels: C1,
pub PushProgress: C2,
pub Messages: C3,
pub Schedule: C4,
pub Shutdown: C5,
pub CommChannels: C6,
pub Park: C7,
pub Text: C8,
pub indexes: Discriminant<CVar, COff>,
}Expand description
Derived columnar container for an enum.
Fields§
§Operates: C0Container for #names.
Channels: C1Container for #names.
PushProgress: C2Container for #names.
Messages: C3Container for #names.
Schedule: C4Container for #names.
Shutdown: C5Container for #names.
CommChannels: C6Container for #names.
Park: C7Container for #names.
Text: C8Container for #names.
indexes: Discriminant<CVar, COff>Discriminant tracking for variants.
Implementations§
Source§impl<C0, C1, C2, C3, C4, C5, C6, C7, C8> TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8>
impl<C0, C1, C2, C3, C4, C5, C6, C7, C8> TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8>
Sourcepub fn try_unwrap_Operates(&self) -> Option<&C0>
pub fn try_unwrap_Operates(&self) -> Option<&C0>
Returns the #name container if all elements are #name.
Sourcepub fn try_unwrap_Channels(&self) -> Option<&C1>
pub fn try_unwrap_Channels(&self) -> Option<&C1>
Returns the #name container if all elements are #name.
Sourcepub fn try_unwrap_PushProgress(&self) -> Option<&C2>
pub fn try_unwrap_PushProgress(&self) -> Option<&C2>
Returns the #name container if all elements are #name.
Sourcepub fn try_unwrap_Messages(&self) -> Option<&C3>
pub fn try_unwrap_Messages(&self) -> Option<&C3>
Returns the #name container if all elements are #name.
Sourcepub fn try_unwrap_Schedule(&self) -> Option<&C4>
pub fn try_unwrap_Schedule(&self) -> Option<&C4>
Returns the #name container if all elements are #name.
Sourcepub fn try_unwrap_Shutdown(&self) -> Option<&C5>
pub fn try_unwrap_Shutdown(&self) -> Option<&C5>
Returns the #name container if all elements are #name.
Sourcepub fn try_unwrap_CommChannels(&self) -> Option<&C6>
pub fn try_unwrap_CommChannels(&self) -> Option<&C6>
Returns the #name container if all elements are #name.
Sourcepub fn try_unwrap_Park(&self) -> Option<&C7>
pub fn try_unwrap_Park(&self) -> Option<&C7>
Returns the #name container if all elements are #name.
Sourcepub fn try_unwrap_Text(&self) -> Option<&C8>
pub fn try_unwrap_Text(&self) -> Option<&C8>
Returns the #name container if all elements are #name.
Trait Implementations§
Source§impl<'a, C0, C1, C2, C3, C4, C5, C6, C7, C8, CVar, COff> AsBytes<'a> for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, CVar, COff>
impl<'a, C0, C1, C2, C3, C4, C5, C6, C7, C8, CVar, COff> AsBytes<'a> for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, CVar, COff>
Source§impl<C0: Borrow, C1: Borrow, C2: Borrow, C3: Borrow, C4: Borrow, C5: Borrow, C6: Borrow, C7: Borrow, C8: Borrow> Borrow for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8>
impl<C0: Borrow, C1: Borrow, C2: Borrow, C3: Borrow, C4: Borrow, C5: Borrow, C6: Borrow, C7: Borrow, C8: Borrow> Borrow for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8>
Source§type Ref<'a> = TimelyEventReference<<C0 as Borrow>::Ref<'a>, <C1 as Borrow>::Ref<'a>, <C2 as Borrow>::Ref<'a>, <C3 as Borrow>::Ref<'a>, <C4 as Borrow>::Ref<'a>, <C5 as Borrow>::Ref<'a>, <C6 as Borrow>::Ref<'a>, <C7 as Borrow>::Ref<'a>, <C8 as Borrow>::Ref<'a>>
where
Self: 'a,
C0: 'a,
C1: 'a,
C2: 'a,
C3: 'a,
C4: 'a,
C5: 'a,
C6: 'a,
C7: 'a,
C8: 'a
type Ref<'a> = TimelyEventReference<<C0 as Borrow>::Ref<'a>, <C1 as Borrow>::Ref<'a>, <C2 as Borrow>::Ref<'a>, <C3 as Borrow>::Ref<'a>, <C4 as Borrow>::Ref<'a>, <C5 as Borrow>::Ref<'a>, <C6 as Borrow>::Ref<'a>, <C7 as Borrow>::Ref<'a>, <C8 as Borrow>::Ref<'a>> where Self: 'a, C0: 'a, C1: 'a, C2: 'a, C3: 'a, C4: 'a, C5: 'a, C6: 'a, C7: 'a, C8: 'a
For each lifetime, a reference with that lifetime. Read more
Source§type Borrowed<'a> = TimelyEventContainer<<C0 as Borrow>::Borrowed<'a>, <C1 as Borrow>::Borrowed<'a>, <C2 as Borrow>::Borrowed<'a>, <C3 as Borrow>::Borrowed<'a>, <C4 as Borrow>::Borrowed<'a>, <C5 as Borrow>::Borrowed<'a>, <C6 as Borrow>::Borrowed<'a>, <C7 as Borrow>::Borrowed<'a>, <C8 as Borrow>::Borrowed<'a>, &'a [u8], &'a [u64]>
where
C0: 'a,
C1: 'a,
C2: 'a,
C3: 'a,
C4: 'a,
C5: 'a,
C6: 'a,
C7: 'a,
C8: 'a
type Borrowed<'a> = TimelyEventContainer<<C0 as Borrow>::Borrowed<'a>, <C1 as Borrow>::Borrowed<'a>, <C2 as Borrow>::Borrowed<'a>, <C3 as Borrow>::Borrowed<'a>, <C4 as Borrow>::Borrowed<'a>, <C5 as Borrow>::Borrowed<'a>, <C6 as Borrow>::Borrowed<'a>, <C7 as Borrow>::Borrowed<'a>, <C8 as Borrow>::Borrowed<'a>, &'a [u8], &'a [u64]> where C0: 'a, C1: 'a, C2: 'a, C3: 'a, C4: 'a, C5: 'a, C6: 'a, C7: 'a, C8: '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. Read more
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.Source§impl<C0, C1, C2, C3, C4, C5, C6, C7, C8> Clear for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8>
impl<C0, C1, C2, C3, C4, C5, C6, C7, C8> Clear for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8>
Source§impl<C0: Clone, C1: Clone, C2: Clone, C3: Clone, C4: Clone, C5: Clone, C6: Clone, C7: Clone, C8: Clone, CVar: Clone, COff: Clone> Clone for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, CVar, COff>
impl<C0: Clone, C1: Clone, C2: Clone, C3: Clone, C4: Clone, C5: Clone, C6: Clone, C7: Clone, C8: Clone, CVar: Clone, COff: Clone> Clone for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, CVar, COff>
Source§fn clone(
&self,
) -> TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, CVar, COff>
fn clone( &self, ) -> TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, CVar, COff>
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<C0: Container + Len, C1: Container + Len, C2: Container + Len, C3: Container + Len, C4: Container + Len, C5: Container + Len, C6: Container + Len, C7: Container + Len, C8: Container + Len> Container for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8>
impl<C0: Container + Len, C1: Container + Len, C2: Container + Len, C3: Container + Len, C4: Container + Len, C5: Container + Len, C6: Container + Len, C7: Container + Len, C8: Container + Len> Container for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8>
fn reserve_for<'a, I>(&mut self, selves: I)
Source§impl<C0: Debug, C1: Debug, C2: Debug, C3: Debug, C4: Debug, C5: Debug, C6: Debug, C7: Debug, C8: Debug, CVar: Debug, COff: Debug> Debug for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, CVar, COff>
impl<C0: Debug, C1: Debug, C2: Debug, C3: Debug, C4: Debug, C5: Debug, C6: Debug, C7: Debug, C8: Debug, CVar: Debug, COff: Debug> Debug for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, CVar, COff>
Source§impl<C0: Default, C1: Default, C2: Default, C3: Default, C4: Default, C5: Default, C6: Default, C7: Default, C8: Default, CVar: Default, COff: Default> Default for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, CVar, COff>
impl<C0: Default, C1: Default, C2: Default, C3: Default, C4: Default, C5: Default, C6: Default, C7: Default, C8: Default, CVar: Default, COff: Default> Default for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, CVar, COff>
Source§fn default() -> TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, CVar, COff>
fn default() -> TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, CVar, COff>
Returns the “default value” for a type. Read more
Source§impl<'columnar, C0, C1, C2, C3, C4, C5, C6, C7, C8, CVar, COff> FromBytes<'columnar> for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, CVar, COff>
impl<'columnar, C0, C1, C2, C3, C4, C5, C6, C7, C8, CVar, COff> FromBytes<'columnar> for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, CVar, COff>
Source§const SLICE_COUNT: usize
const SLICE_COUNT: usize
The number of byte slices this type consumes when reconstructed.
Source§fn from_bytes(bytes: &mut impl Iterator<Item = &'columnar [u8]>) -> Self
fn from_bytes(bytes: &mut impl Iterator<Item = &'columnar [u8]>) -> Self
Reconstructs
self from a sequence of correctly aligned and sized bytes slices. Read moreSource§fn from_store(store: &DecodedStore<'columnar>, offset: &mut usize) -> Self
fn from_store(store: &DecodedStore<'columnar>, offset: &mut usize) -> Self
Source§impl<'columnar, C0, C1, C2, C3, C4, C5, C6, C7, C8, CVar, COff> Index for &'columnar TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, CVar, COff>where
&'columnar C0: Index,
&'columnar C1: Index,
&'columnar C2: Index,
&'columnar C3: Index,
&'columnar C4: Index,
&'columnar C5: Index,
&'columnar C6: Index,
&'columnar C7: Index,
&'columnar C8: Index,
CVar: Len + IndexAs<u8>,
COff: Len + IndexAs<u64>,
impl<'columnar, C0, C1, C2, C3, C4, C5, C6, C7, C8, CVar, COff> Index for &'columnar TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, CVar, COff>where
&'columnar C0: Index,
&'columnar C1: Index,
&'columnar C2: Index,
&'columnar C3: Index,
&'columnar C4: Index,
&'columnar C5: Index,
&'columnar C6: Index,
&'columnar C7: Index,
&'columnar C8: Index,
CVar: Len + IndexAs<u8>,
COff: Len + IndexAs<u64>,
Source§type Ref = TimelyEventReference<<&'columnar C0 as Index>::Ref, <&'columnar C1 as Index>::Ref, <&'columnar C2 as Index>::Ref, <&'columnar C3 as Index>::Ref, <&'columnar C4 as Index>::Ref, <&'columnar C5 as Index>::Ref, <&'columnar C6 as Index>::Ref, <&'columnar C7 as Index>::Ref, <&'columnar C8 as Index>::Ref>
type Ref = TimelyEventReference<<&'columnar C0 as Index>::Ref, <&'columnar C1 as Index>::Ref, <&'columnar C2 as Index>::Ref, <&'columnar C3 as Index>::Ref, <&'columnar C4 as Index>::Ref, <&'columnar C5 as Index>::Ref, <&'columnar C6 as Index>::Ref, <&'columnar C7 as Index>::Ref, <&'columnar C8 as Index>::Ref>
The type returned by the
get method. Read moreSource§fn get(&self, index: usize) -> Self::Ref
fn get(&self, index: usize) -> Self::Ref
Returns the reference type for location
index. Read morefn last(&self) -> Option<Self::Ref>where
Self: Len,
Source§fn index_iter(&self) -> IterOwn<&Self>
fn index_iter(&self) -> IterOwn<&Self>
Converts
&self into an iterator. Read moreSource§impl<C0, C1, C2, C3, C4, C5, C6, C7, C8, CVar, COff> Index for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, CVar, COff>
impl<C0, C1, C2, C3, C4, C5, C6, C7, C8, CVar, COff> Index for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, CVar, COff>
Source§type Ref = TimelyEventReference<<C0 as Index>::Ref, <C1 as Index>::Ref, <C2 as Index>::Ref, <C3 as Index>::Ref, <C4 as Index>::Ref, <C5 as Index>::Ref, <C6 as Index>::Ref, <C7 as Index>::Ref, <C8 as Index>::Ref>
type Ref = TimelyEventReference<<C0 as Index>::Ref, <C1 as Index>::Ref, <C2 as Index>::Ref, <C3 as Index>::Ref, <C4 as Index>::Ref, <C5 as Index>::Ref, <C6 as Index>::Ref, <C7 as Index>::Ref, <C8 as Index>::Ref>
The type returned by the
get method. Read moreSource§fn get(&self, index: usize) -> Self::Ref
fn get(&self, index: usize) -> Self::Ref
Returns the reference type for location
index. Read morefn last(&self) -> Option<Self::Ref>where
Self: Len,
Source§fn index_iter(&self) -> IterOwn<&Self>
fn index_iter(&self) -> IterOwn<&Self>
Converts
&self into an iterator. Read moreSource§impl<C0, C1, C2, C3, C4, C5, C6, C7, C8, CVar, COff> Len for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, CVar, COff>
impl<C0, C1, C2, C3, C4, C5, C6, C7, C8, CVar, COff> Len for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, CVar, COff>
Source§impl<'columnar, C0, C1, C2, C3, C4, C5, C6, C7, C8> Push<&'columnar TimelyEvent> for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8>where
C0: Len + Push<&'columnar OperatesEvent>,
C1: Len + Push<&'columnar ChannelsEvent>,
C2: Len + Push<&'columnar PushProgressEvent>,
C3: Len + Push<&'columnar MessagesEvent>,
C4: Len + Push<&'columnar ScheduleEvent>,
C5: Len + Push<&'columnar ShutdownEvent>,
C6: Len + Push<&'columnar CommChannelsEvent>,
C7: Len + Push<&'columnar ParkEvent>,
C8: Len + Push<&'columnar String>,
impl<'columnar, C0, C1, C2, C3, C4, C5, C6, C7, C8> Push<&'columnar TimelyEvent> for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8>where
C0: Len + Push<&'columnar OperatesEvent>,
C1: Len + Push<&'columnar ChannelsEvent>,
C2: Len + Push<&'columnar PushProgressEvent>,
C3: Len + Push<&'columnar MessagesEvent>,
C4: Len + Push<&'columnar ScheduleEvent>,
C5: Len + Push<&'columnar ShutdownEvent>,
C6: Len + Push<&'columnar CommChannelsEvent>,
C7: Len + Push<&'columnar ParkEvent>,
C8: Len + Push<&'columnar String>,
Source§fn push(&mut self, item: &'columnar TimelyEvent)
fn push(&mut self, item: &'columnar TimelyEvent)
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, C2, C3, C4, C5, C6, C7, C8> Push<TimelyEvent> for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8>where
C0: Len + Push<OperatesEvent>,
C1: Len + Push<ChannelsEvent>,
C2: Len + Push<PushProgressEvent>,
C3: Len + Push<MessagesEvent>,
C4: Len + Push<ScheduleEvent>,
C5: Len + Push<ShutdownEvent>,
C6: Len + Push<CommChannelsEvent>,
C7: Len + Push<ParkEvent>,
C8: Len + Push<String>,
impl<C0, C1, C2, C3, C4, C5, C6, C7, C8> Push<TimelyEvent> for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8>where
C0: Len + Push<OperatesEvent>,
C1: Len + Push<ChannelsEvent>,
C2: Len + Push<PushProgressEvent>,
C3: Len + Push<MessagesEvent>,
C4: Len + Push<ScheduleEvent>,
C5: Len + Push<ShutdownEvent>,
C6: Len + Push<CommChannelsEvent>,
C7: Len + Push<ParkEvent>,
C8: Len + Push<String>,
Source§fn push(&mut self, item: TimelyEvent)
fn push(&mut self, item: TimelyEvent)
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, C2, C3, C4, C5, C6, C7, C8, R0, R1, R2, R3, R4, R5, R6, R7, R8> Push<TimelyEventReference<R0, R1, R2, R3, R4, R5, R6, R7, R8>> for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8>
impl<C0, C1, C2, C3, C4, C5, C6, C7, C8, R0, R1, R2, R3, R4, R5, R6, R7, R8> Push<TimelyEventReference<R0, R1, R2, R3, R4, R5, R6, R7, R8>> for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8>
Source§fn push(
&mut self,
item: TimelyEventReference<R0, R1, R2, R3, R4, R5, R6, R7, R8>,
)
fn push( &mut self, item: TimelyEventReference<R0, R1, R2, R3, R4, R5, R6, R7, R8>, )
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<C0: Copy, C1: Copy, C2: Copy, C3: Copy, C4: Copy, C5: Copy, C6: Copy, C7: Copy, C8: Copy, CVar: Copy, COff: Copy> Copy for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, CVar, COff>
Auto Trait Implementations§
impl<C0, C1, C2, C3, C4, C5, C6, C7, C8, CVar, COff> Freeze for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, CVar, COff>
impl<C0, C1, C2, C3, C4, C5, C6, C7, C8, CVar, COff> RefUnwindSafe for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, CVar, COff>where
C0: RefUnwindSafe,
C1: RefUnwindSafe,
C2: RefUnwindSafe,
C3: RefUnwindSafe,
C4: RefUnwindSafe,
C5: RefUnwindSafe,
C6: RefUnwindSafe,
C7: RefUnwindSafe,
C8: RefUnwindSafe,
CVar: RefUnwindSafe,
COff: RefUnwindSafe,
impl<C0, C1, C2, C3, C4, C5, C6, C7, C8, CVar, COff> Send for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, CVar, COff>
impl<C0, C1, C2, C3, C4, C5, C6, C7, C8, CVar, COff> Sync for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, CVar, COff>
impl<C0, C1, C2, C3, C4, C5, C6, C7, C8, CVar, COff> Unpin for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, CVar, COff>
impl<C0, C1, C2, C3, C4, C5, C6, C7, C8, CVar, COff> UnsafeUnpin for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, CVar, COff>where
C0: UnsafeUnpin,
C1: UnsafeUnpin,
C2: UnsafeUnpin,
C3: UnsafeUnpin,
C4: UnsafeUnpin,
C5: UnsafeUnpin,
C6: UnsafeUnpin,
C7: UnsafeUnpin,
C8: UnsafeUnpin,
CVar: UnsafeUnpin,
COff: UnsafeUnpin,
impl<C0, C1, C2, C3, C4, C5, C6, C7, C8, CVar, COff> UnwindSafe for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, CVar, COff>where
C0: UnwindSafe,
C1: UnwindSafe,
C2: UnwindSafe,
C3: UnwindSafe,
C4: UnwindSafe,
C5: UnwindSafe,
C6: UnwindSafe,
C7: UnwindSafe,
C8: UnwindSafe,
CVar: UnwindSafe,
COff: 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