pub struct TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, CVar = Vec<u8>, COff = Vec<u64>> {Show 13 fields
pub Operates: C0,
pub Channels: C1,
pub PushProgress: C2,
pub Messages: C3,
pub Schedule: C4,
pub Shutdown: C5,
pub Application: C6,
pub CommChannels: C7,
pub Input: C8,
pub Park: C9,
pub Text: C10,
pub variant: CVar,
pub offset: COff,
}
Expand description
Derived columnar container for an enum.
Fields§
§Operates: C0
Container for #names.
Channels: C1
Container for #names.
PushProgress: C2
Container for #names.
Messages: C3
Container for #names.
Schedule: C4
Container for #names.
Shutdown: C5
Container for #names.
Application: C6
Container for #names.
CommChannels: C7
Container for #names.
Input: C8
Container for #names.
Park: C9
Container for #names.
Text: C10
Container for #names.
variant: CVar
Container for variant.
offset: COff
Container for offset.
Trait Implementations§
Source§impl<'a, C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, CVar, COff> AsBytes<'a> for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, CVar, COff>
impl<'a, C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, CVar, COff> AsBytes<'a> for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, CVar, COff>
Source§impl<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10> Clear for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10>
impl<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10> Clear for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10>
Source§impl<C0: Clone, C1: Clone, C2: Clone, C3: Clone, C4: Clone, C5: Clone, C6: Clone, C7: Clone, C8: Clone, C9: Clone, C10: Clone, CVar: Clone, COff: Clone> Clone for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, CVar, COff>
impl<C0: Clone, C1: Clone, C2: Clone, C3: Clone, C4: Clone, C5: Clone, C6: Clone, C7: Clone, C8: Clone, C9: Clone, C10: Clone, CVar: Clone, COff: Clone> Clone for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, CVar, COff>
Source§fn clone(
&self,
) -> TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, CVar, COff>
fn clone( &self, ) -> TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, 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, C1: Container, C2: Container, C3: Container, C4: Container, C5: Container, C6: Container, C7: Container, C8: Container, C9: Container, C10: Container> Container for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10>
impl<C0: Container, C1: Container, C2: Container, C3: Container, C4: Container, C5: Container, C6: Container, C7: Container, C8: Container, C9: Container, C10: Container> Container for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10>
Source§type Ref<'a> = TimelyEventReference<<C0 as Container>::Ref<'a>, <C1 as Container>::Ref<'a>, <C2 as Container>::Ref<'a>, <C3 as Container>::Ref<'a>, <C4 as Container>::Ref<'a>, <C5 as Container>::Ref<'a>, <C6 as Container>::Ref<'a>, <C7 as Container>::Ref<'a>, <C8 as Container>::Ref<'a>, <C9 as Container>::Ref<'a>, <C10 as Container>::Ref<'a>>
where
Self: 'a,
C0: 'a,
C1: 'a,
C2: 'a,
C3: 'a,
C4: 'a,
C5: 'a,
C6: 'a,
C7: 'a,
C8: 'a,
C9: 'a,
C10: 'a
type Ref<'a> = TimelyEventReference<<C0 as Container>::Ref<'a>, <C1 as Container>::Ref<'a>, <C2 as Container>::Ref<'a>, <C3 as Container>::Ref<'a>, <C4 as Container>::Ref<'a>, <C5 as Container>::Ref<'a>, <C6 as Container>::Ref<'a>, <C7 as Container>::Ref<'a>, <C8 as Container>::Ref<'a>, <C9 as Container>::Ref<'a>, <C10 as Container>::Ref<'a>> where Self: 'a, C0: 'a, C1: 'a, C2: 'a, C3: 'a, C4: 'a, C5: 'a, C6: 'a, C7: 'a, C8: 'a, C9: 'a, C10: 'a
For each lifetime, a reference with that lifetime. Read more
Source§type Borrowed<'a> = TimelyEventContainer<<C0 as Container>::Borrowed<'a>, <C1 as Container>::Borrowed<'a>, <C2 as Container>::Borrowed<'a>, <C3 as Container>::Borrowed<'a>, <C4 as Container>::Borrowed<'a>, <C5 as Container>::Borrowed<'a>, <C6 as Container>::Borrowed<'a>, <C7 as Container>::Borrowed<'a>, <C8 as Container>::Borrowed<'a>, <C9 as Container>::Borrowed<'a>, <C10 as Container>::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,
C9: 'a,
C10: 'a
type Borrowed<'a> = TimelyEventContainer<<C0 as Container>::Borrowed<'a>, <C1 as Container>::Borrowed<'a>, <C2 as Container>::Borrowed<'a>, <C3 as Container>::Borrowed<'a>, <C4 as Container>::Borrowed<'a>, <C5 as Container>::Borrowed<'a>, <C6 as Container>::Borrowed<'a>, <C7 as Container>::Borrowed<'a>, <C8 as Container>::Borrowed<'a>, <C9 as Container>::Borrowed<'a>, <C10 as Container>::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, C9: 'a, C10: '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<C0: Debug, C1: Debug, C2: Debug, C3: Debug, C4: Debug, C5: Debug, C6: Debug, C7: Debug, C8: Debug, C9: Debug, C10: Debug, CVar: Debug, COff: Debug> Debug for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, CVar, COff>
impl<C0: Debug, C1: Debug, C2: Debug, C3: Debug, C4: Debug, C5: Debug, C6: Debug, C7: Debug, C8: Debug, C9: Debug, C10: Debug, CVar: Debug, COff: Debug> Debug for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, CVar, COff>
Source§impl<C0: Default, C1: Default, C2: Default, C3: Default, C4: Default, C5: Default, C6: Default, C7: Default, C8: Default, C9: Default, C10: Default, CVar: Default, COff: Default> Default for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, CVar, COff>
impl<C0: Default, C1: Default, C2: Default, C3: Default, C4: Default, C5: Default, C6: Default, C7: Default, C8: Default, C9: Default, C10: Default, CVar: Default, COff: Default> Default for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, CVar, COff>
Source§fn default() -> TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, CVar, COff>
fn default() -> TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, CVar, COff>
Returns the “default value” for a type. Read more
Source§impl<'columnar, C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, CVar, COff> FromBytes<'columnar> for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, CVar, COff>where
C0: FromBytes<'columnar>,
C1: FromBytes<'columnar>,
C2: FromBytes<'columnar>,
C3: FromBytes<'columnar>,
C4: FromBytes<'columnar>,
C5: FromBytes<'columnar>,
C6: FromBytes<'columnar>,
C7: FromBytes<'columnar>,
C8: FromBytes<'columnar>,
C9: FromBytes<'columnar>,
C10: FromBytes<'columnar>,
CVar: FromBytes<'columnar>,
COff: FromBytes<'columnar>,
impl<'columnar, C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, CVar, COff> FromBytes<'columnar> for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, CVar, COff>where
C0: FromBytes<'columnar>,
C1: FromBytes<'columnar>,
C2: FromBytes<'columnar>,
C3: FromBytes<'columnar>,
C4: FromBytes<'columnar>,
C5: FromBytes<'columnar>,
C6: FromBytes<'columnar>,
C7: FromBytes<'columnar>,
C8: FromBytes<'columnar>,
C9: FromBytes<'columnar>,
C10: FromBytes<'columnar>,
CVar: FromBytes<'columnar>,
COff: FromBytes<'columnar>,
Source§impl<'columnar, C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, CVal, COff> Index for &'columnar TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, CVal, 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,
&'columnar C9: Index,
&'columnar C10: Index,
CVal: Len + IndexAs<u8>,
COff: Len + IndexAs<u64>,
impl<'columnar, C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, CVal, COff> Index for &'columnar TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, CVal, 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,
&'columnar C9: Index,
&'columnar C10: Index,
CVal: 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, <&'columnar C9 as Index>::Ref, <&'columnar C10 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, <&'columnar C9 as Index>::Ref, <&'columnar C10 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,
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, C9, C10, CVal, COff> Index for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, CVal, COff>
impl<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, CVal, COff> Index for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, CVal, 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, <C9 as Index>::Ref, <C10 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, <C9 as Index>::Ref, <C10 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,
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, C9, C10, CVar, COff> Len for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, CVar, COff>where
CVar: Len,
impl<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, CVar, COff> Len for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, CVar, COff>where
CVar: Len,
Source§impl<'columnar, C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10> Push<&'columnar TimelyEvent> for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10>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 ApplicationEvent>,
C7: Len + Push<&'columnar CommChannelsEvent>,
C8: Len + Push<&'columnar InputEvent>,
C9: Len + Push<&'columnar ParkEvent>,
C10: Len + Push<&'columnar String>,
impl<'columnar, C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10> Push<&'columnar TimelyEvent> for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10>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 ApplicationEvent>,
C7: Len + Push<&'columnar CommChannelsEvent>,
C8: Len + Push<&'columnar InputEvent>,
C9: Len + Push<&'columnar ParkEvent>,
C10: 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, C9, C10> Push<TimelyEvent> for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10>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<ApplicationEvent>,
C7: Len + Push<CommChannelsEvent>,
C8: Len + Push<InputEvent>,
C9: Len + Push<ParkEvent>,
C10: Len + Push<String>,
impl<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10> Push<TimelyEvent> for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10>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<ApplicationEvent>,
C7: Len + Push<CommChannelsEvent>,
C8: Len + Push<InputEvent>,
C9: Len + Push<ParkEvent>,
C10: 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, C9, C10, R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10> Push<TimelyEventReference<R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10>> for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10>
impl<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10> Push<TimelyEventReference<R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10>> for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10>
Source§fn push(
&mut self,
item: TimelyEventReference<R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10>,
)
fn push( &mut self, item: TimelyEventReference<R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10>, )
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, C9: Copy, C10: Copy, CVar: Copy, COff: Copy> Copy for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, CVar, COff>
Auto Trait Implementations§
impl<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, CVar, COff> Freeze for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, CVar, COff>
impl<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, CVar, COff> RefUnwindSafe for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, CVar, COff>where
C0: RefUnwindSafe,
C1: RefUnwindSafe,
C2: RefUnwindSafe,
C3: RefUnwindSafe,
C4: RefUnwindSafe,
C5: RefUnwindSafe,
C6: RefUnwindSafe,
C7: RefUnwindSafe,
C8: RefUnwindSafe,
C9: RefUnwindSafe,
C10: RefUnwindSafe,
CVar: RefUnwindSafe,
COff: RefUnwindSafe,
impl<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, CVar, COff> Send for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, CVar, COff>
impl<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, CVar, COff> Sync for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, CVar, COff>
impl<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, CVar, COff> Unpin for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, CVar, COff>
impl<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, CVar, COff> UnwindSafe for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, CVar, COff>where
C0: UnwindSafe,
C1: UnwindSafe,
C2: UnwindSafe,
C3: UnwindSafe,
C4: UnwindSafe,
C5: UnwindSafe,
C6: UnwindSafe,
C7: UnwindSafe,
C8: UnwindSafe,
C9: UnwindSafe,
C10: 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