pub struct Unit;
Expand description
Implementations§
Trait Implementations§
source§impl AddAssign<&Unit> for Unit
impl AddAssign<&Unit> for Unit
source§fn add_assign(&mut self, _: &Unit)
fn add_assign(&mut self, _: &Unit)
Performs the
+=
operation. Read moresource§impl AddAssign for Unit
impl AddAssign for Unit
source§fn add_assign(&mut self, _: Unit)
fn add_assign(&mut self, _: Unit)
Performs the
+=
operation. Read moresource§impl AsDerefMut for Unit
impl AsDerefMut for Unit
§type AsDerefMutOutput<'a> = Unit
type AsDerefMutOutput<'a> = Unit
The type of the output tuple.
source§fn as_deref_mut(&mut self) -> Self::AsDerefMutOutput<'_>
fn as_deref_mut(&mut self) -> Self::AsDerefMutOutput<'_>
source§impl BitAndAssign<&Unit> for Unit
impl BitAndAssign<&Unit> for Unit
source§fn bitand_assign(&mut self, _: &Unit)
fn bitand_assign(&mut self, _: &Unit)
Performs the
&=
operation. Read moresource§impl BitAndAssign for Unit
impl BitAndAssign for Unit
source§fn bitand_assign(&mut self, _: Unit)
fn bitand_assign(&mut self, _: Unit)
Performs the
&=
operation. Read moresource§impl BitOrAssign<&Unit> for Unit
impl BitOrAssign<&Unit> for Unit
source§fn bitor_assign(&mut self, _: &Unit)
fn bitor_assign(&mut self, _: &Unit)
Performs the
|=
operation. Read moresource§impl BitOrAssign for Unit
impl BitOrAssign for Unit
source§fn bitor_assign(&mut self, _: Unit)
fn bitor_assign(&mut self, _: Unit)
Performs the
|=
operation. Read moresource§impl BitXorAssign<&Unit> for Unit
impl BitXorAssign<&Unit> for Unit
source§fn bitxor_assign(&mut self, _: &Unit)
fn bitxor_assign(&mut self, _: &Unit)
Performs the
^=
operation. Read moresource§impl BitXorAssign for Unit
impl BitXorAssign for Unit
source§fn bitxor_assign(&mut self, _: Unit)
fn bitxor_assign(&mut self, _: Unit)
Performs the
^=
operation. Read moresource§impl Cloned for Unit
impl Cloned for Unit
§type ClonedOutput = Unit
type ClonedOutput = Unit
The type of the output tuple.
source§fn cloned(&self) -> Self::ClonedOutput
fn cloned(&self) -> Self::ClonedOutput
If the elements of the tuple are all references, clone these elements to a new tuple. Read more
source§impl Combinable<Unit> for Unit
impl Combinable<Unit> for Unit
source§impl ConSubseq<Unit, Complete> for Unit
impl ConSubseq<Unit, Complete> for Unit
source§fn con_subseq(self) -> Unit
fn con_subseq(self) -> Unit
Take out a contiguous subsequence. Read more
source§fn con_subseq_ref(&self) -> <Unit as TupleLike>::AsRefOutput<'_>
fn con_subseq_ref(&self) -> <Unit as TupleLike>::AsRefOutput<'_>
Similar to
con_subseq()
,
but all its elements are immutable references to the supersequence’s elements. Read moresource§fn con_subseq_mut(&mut self) -> <Unit as TupleLike>::AsMutOutput<'_>
fn con_subseq_mut(&mut self) -> <Unit as TupleLike>::AsMutOutput<'_>
Similar to
con_subseq()
,
but all its elements are mutable references to the supersequence’s elements. Read moresource§fn swap_con_subseq(&mut self, _: &mut Unit)
fn swap_con_subseq(&mut self, _: &mut Unit)
Swap elements with a contiguous subsequence. Read more
source§fn replace_con_subseq(&mut self, subseq: Seq) -> Seq
fn replace_con_subseq(&mut self, subseq: Seq) -> Seq
Replace elements with a contiguous subsequence. Read more
source§impl<F> ConSubseqMapReplace<Unit, F, Complete> for Unit
impl<F> ConSubseqMapReplace<Unit, F, Complete> for Unit
§type MapReplaceOutput = Unit
type MapReplaceOutput = Unit
The type of tuple that replace elements of a specific contiguous subsequence
to another sequence that may be of different element types.
source§fn map_replace_con_subseq(self, _: F) -> Self::MapReplaceOutput
fn map_replace_con_subseq(self, _: F) -> Self::MapReplaceOutput
Replace elements of specific contiguous subsequence with another sequence
that may be of different element types. Read more
source§impl Copied for Unit
impl Copied for Unit
§type CopiedOutput = Unit
type CopiedOutput = Unit
The type of the output tuple.
source§fn copied(&self) -> Self::CopiedOutput
fn copied(&self) -> Self::CopiedOutput
If the elements of the tuple are all references, copy its elements to a new tuple. Read more
source§impl<'de> Deserialize<'de> for Unit
impl<'de> Deserialize<'de> for Unit
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 DivAssign<&Unit> for Unit
impl DivAssign<&Unit> for Unit
source§fn div_assign(&mut self, _: &Unit)
fn div_assign(&mut self, _: &Unit)
Performs the
/=
operation. Read moresource§impl DivAssign for Unit
impl DivAssign for Unit
source§fn div_assign(&mut self, _: Unit)
fn div_assign(&mut self, _: Unit)
Performs the
/=
operation. Read moresource§impl Enumerable for Unit
impl Enumerable for Unit
§type EnumerateOutput = Unit
type EnumerateOutput = Unit
The type of the output tuple.
source§impl Extendable<Unit> for Unit
impl Extendable<Unit> for Unit
§type ExtendFrontOutput = Unit
type ExtendFrontOutput = Unit
The type of the output generated by pushing new elements to the front of tuple elements.
§type ExtendBackOutput = Unit
type ExtendBackOutput = Unit
The type of the output generated by pushing new elements to the back of tuple elements.
source§fn extend(self, _: Unit) -> Self::ExtendBackOutput
fn extend(self, _: Unit) -> Self::ExtendBackOutput
If the elements of a tuple are all tuples, push an element to the back of each tuple element. Read more
source§fn extend_front(self, _: Unit) -> Self::ExtendFrontOutput
fn extend_front(self, _: Unit) -> Self::ExtendFrontOutput
If the elements of a tuple are all tuples, push an element to the front of each tuple element. Read more
source§fn extend_back(self, rhs: T) -> Self::ExtendBackOutputwhere
Self: Sized,
fn extend_back(self, rhs: T) -> Self::ExtendBackOutputwhere
Self: Sized,
source§impl MulAssign<&Unit> for Unit
impl MulAssign<&Unit> for Unit
source§fn mul_assign(&mut self, _: &Unit)
fn mul_assign(&mut self, _: &Unit)
Performs the
*=
operation. Read moresource§impl MulAssign for Unit
impl MulAssign for Unit
source§fn mul_assign(&mut self, _: Unit)
fn mul_assign(&mut self, _: Unit)
Performs the
*=
operation. Read moresource§impl<T, P> MutCallable<T, P> for Unit
impl<T, P> MutCallable<T, P> for Unit
source§impl<T, P> OnceCallable<T, P> for Unit
impl<T, P> OnceCallable<T, P> for Unit
source§impl Ord for Unit
impl Ord for Unit
source§impl Owned for Unit
impl Owned for Unit
source§fn owned(&self) -> Self::OwnedOutput
fn owned(&self) -> Self::OwnedOutput
Available on crate features
std
or alloc
only.If the elements of the tuple are all references, clone its elements to a new tuple. Read more
source§impl PartialEq for Unit
impl PartialEq for Unit
source§impl PartialOrd for Unit
impl PartialOrd for Unit
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl RemAssign<&Unit> for Unit
impl RemAssign<&Unit> for Unit
source§fn rem_assign(&mut self, _: &Unit)
fn rem_assign(&mut self, _: &Unit)
Performs the
%=
operation. Read moresource§impl RemAssign for Unit
impl RemAssign for Unit
source§fn rem_assign(&mut self, _: Unit)
fn rem_assign(&mut self, _: Unit)
Performs the
%=
operation. Read moresource§impl Rotatable for Unit
impl Rotatable for Unit
§type RotLeftOutput = Unit
type RotLeftOutput = Unit
The type of tuple generated by left rotating the elements of the tuple.
§type RotRightOutput = Unit
type RotRightOutput = Unit
The type of tuple generated by right rotating the elements of the tuple.
source§impl ShlAssign<&Unit> for Unit
impl ShlAssign<&Unit> for Unit
source§fn shl_assign(&mut self, _: &Unit)
fn shl_assign(&mut self, _: &Unit)
Performs the
<<=
operation. Read moresource§impl ShlAssign for Unit
impl ShlAssign for Unit
source§fn shl_assign(&mut self, _: Unit)
fn shl_assign(&mut self, _: Unit)
Performs the
<<=
operation. Read moresource§impl ShrAssign<&Unit> for Unit
impl ShrAssign<&Unit> for Unit
source§fn shr_assign(&mut self, _: &Unit)
fn shr_assign(&mut self, _: &Unit)
Performs the
>>=
operation. Read moresource§impl ShrAssign for Unit
impl ShrAssign for Unit
source§fn shr_assign(&mut self, _: Unit)
fn shr_assign(&mut self, _: Unit)
Performs the
>>=
operation. Read moresource§impl Shrinkable for Unit
impl Shrinkable for Unit
§type ShrinkFrontOutput = Unit
type ShrinkFrontOutput = Unit
The type of the output generated by pop elements from the front of tuple elements.
§type ShrinkFrontElements = Unit
type ShrinkFrontElements = Unit
The type of the tuple that collect popped elements from the front of tuple elements.
§type ShrinkBackOutput = Unit
type ShrinkBackOutput = Unit
The type of the output generated by pop elements from the back of tuple elements.
§type ShrinkBackElements = Unit
type ShrinkBackElements = Unit
The type of the tuple that collect popped elements from the back of tuple elements.
source§fn shrink(self) -> (Unit, Unit)
fn shrink(self) -> (Unit, Unit)
If the elements of a tuple are all tuples, pop an element from the back of each tuple element. Read more
source§fn shrink_front(self) -> (Self::ShrinkFrontOutput, Self::ShrinkFrontElements)
fn shrink_front(self) -> (Self::ShrinkFrontOutput, Self::ShrinkFrontElements)
If the elements of a tuple are all tuples, pop an element from the front of each tuple element. Read more
source§fn shrink_back(self) -> (Self::ShrinkBackOutput, Self::ShrinkBackElements)where
Self: Sized,
fn shrink_back(self) -> (Self::ShrinkBackOutput, Self::ShrinkBackElements)where
Self: Sized,
source§impl SubAssign<&Unit> for Unit
impl SubAssign<&Unit> for Unit
source§fn sub_assign(&mut self, _: &Unit)
fn sub_assign(&mut self, _: &Unit)
Performs the
-=
operation. Read moresource§impl SubAssign for Unit
impl SubAssign for Unit
source§fn sub_assign(&mut self, _: Unit)
fn sub_assign(&mut self, _: Unit)
Performs the
-=
operation. Read moresource§impl Subseq<Unit, Complete> for Unit
impl Subseq<Unit, Complete> for Unit
source§fn subseq_ref(&self) -> <Unit as TupleLike>::AsRefOutput<'_>
fn subseq_ref(&self) -> <Unit as TupleLike>::AsRefOutput<'_>
source§fn subseq_mut(&mut self) -> <Unit as TupleLike>::AsMutOutput<'_>
fn subseq_mut(&mut self) -> <Unit as TupleLike>::AsMutOutput<'_>
source§fn swap_subseq(&mut self, _: &mut Unit)
fn swap_subseq(&mut self, _: &mut Unit)
Swap elements with a subsequence. Read more
source§fn replace_subseq(&mut self, subseq: Seq) -> Seq
fn replace_subseq(&mut self, subseq: Seq) -> Seq
Replace elements with a subsequence. Read more
source§impl<F> SubseqMapReplace<Unit, F, Complete> for Unit
impl<F> SubseqMapReplace<Unit, F, Complete> for Unit
§type MapReplaceOutput = Unit
type MapReplaceOutput = Unit
The type of tuple that replace elements of a specific subsequence
to another sequence that may be of different element types.
source§fn map_replace_subseq(self, _: F) -> Self::MapReplaceOutput
fn map_replace_subseq(self, _: F) -> Self::MapReplaceOutput
Replace elements of specific subsequence with another sequence
that may be of different element types. Read more
source§impl<T> ToArray<T> for Unit
impl<T> ToArray<T> for Unit
source§impl ToPrimitive for Unit
impl ToPrimitive for Unit
source§impl TupleLike for Unit
impl TupleLike for Unit
§type AsRefOutput<'a> = Unit
type AsRefOutput<'a> = Unit
The type of tuple containing immutable references to all elements of the tuple.
§type AsMutOutput<'a> = Unit
type AsMutOutput<'a> = Unit
The type of tuple containing mutable references to all elements of the tuple.
§type AsPtrOutput = Unit
type AsPtrOutput = Unit
The type of tuple containing pointers to all elements of the tuple.
§type AsMutPtrOutput = Unit
type AsMutPtrOutput = Unit
The type of tuple containing mutable pointers to all elements of the tuple.
§type AsPinRefOutput<'a> = Unit
type AsPinRefOutput<'a> = Unit
The type of tuple containing
Pin
s of immutable references to all elements of the tuple.§type AsPinMutOutput<'a> = Unit
type AsPinMutOutput<'a> = Unit
The type of tuple containing
Pin
s of mutable references to all elements of the tuple.§type PushFrontOutput<T> = Tuple<T, Unit>
type PushFrontOutput<T> = Tuple<T, Unit>
The type of tuple generated by pushing an element to the front of the tuple.
§type PushBackOutput<T> = Tuple<T, Unit>
type PushBackOutput<T> = Tuple<T, Unit>
The type of tuple generated by pushing an element to the back of the tuple.
§type JoinOutput<T> = T
where
T: TupleLike
type JoinOutput<T> = T where T: TupleLike
The type of tuple generated by joining two tuples.
§type ToSomeOutput = Unit
type ToSomeOutput = Unit
The type of tuple after wrapping all elements into
Option
.§type ToOkOutput<E> = Unit
type ToOkOutput<E> = Unit
The type of tuple after wrapping all elements into
Result
.§type ToTupleOutput = Unit
type ToTupleOutput = Unit
The type of tuple after wrapping all elements into
Tuple
.§type Uninit = Unit
type Uninit = Unit
Available on crate feature
uninit
only.The type of tuple after wrapping all elements into
MaybeUninit
.source§fn as_ref(&self) -> Self::AsRefOutput<'_>
fn as_ref(&self) -> Self::AsRefOutput<'_>
Generate a tuple containing immutable references to all elements of the tuple. Read more
source§fn as_mut(&mut self) -> Self::AsMutOutput<'_>
fn as_mut(&mut self) -> Self::AsMutOutput<'_>
Generate a tuple containing mutable reference to all elements of the tuple. Read more
source§fn as_ptr(&self) -> Self::AsPtrOutput
fn as_ptr(&self) -> Self::AsPtrOutput
Generate a tuple containing pointers to all elements of the tuple. Read more
source§fn as_mut_ptr(&mut self) -> Self::AsMutPtrOutput
fn as_mut_ptr(&mut self) -> Self::AsMutPtrOutput
Generate a tuple containing mutable pointers to all elements of the tuple. Read more
source§fn as_pin_ref(self: Pin<&Self>) -> Self::AsPinRefOutput<'_>
fn as_pin_ref(self: Pin<&Self>) -> Self::AsPinRefOutput<'_>
Convert from
Pin<&Tuple<T0, T1, T2, ..>
to Tuple<Pin<&T0>, Pin<&T1>, Pin<&T2>, ...>
.source§fn as_pin_mut(self: Pin<&mut Self>) -> Self::AsPinMutOutput<'_>
fn as_pin_mut(self: Pin<&mut Self>) -> Self::AsPinMutOutput<'_>
Convert from
Pin<&mut Tuple<T0, T1, T2, ..>
to Tuple<Pin<&mut T0>, Pin<&mut T1>, Pin<&mut T2>, ...>
.source§fn push<T>(self, value: T) -> Self::PushBackOutput<T>
fn push<T>(self, value: T) -> Self::PushBackOutput<T>
Push an element to the back of the tuple. Read more
source§fn push_front<T>(self, value: T) -> Self::PushFrontOutput<T>
fn push_front<T>(self, value: T) -> Self::PushFrontOutput<T>
Push an element to the front of the tuple. Read more
source§fn push_back<T>(self, value: T) -> Self::PushBackOutput<T>
fn push_back<T>(self, value: T) -> Self::PushBackOutput<T>
Push an element to the back of the tuple. Same as
push()
.source§fn join<T>(self, value: T) -> Self::JoinOutput<T>where
T: TupleLike,
fn join<T>(self, value: T) -> Self::JoinOutput<T>where
T: TupleLike,
Join two tuples. Read more
source§fn to_some(self) -> Self::ToSomeOutput
fn to_some(self) -> Self::ToSomeOutput
source§fn to_ok<E>(self) -> Self::ToOkOutput<E>
fn to_ok<E>(self) -> Self::ToOkOutput<E>
source§fn to_tuple(self) -> Self::ToTupleOutput
fn to_tuple(self) -> Self::ToTupleOutput
source§fn uninit() -> Self::Uninit
fn uninit() -> Self::Uninit
Available on crate feature
uninit
only.Create a new tuple that all elements are wrapped by
MaybeUninit
and in uninitialized states. Read moresource§fn zeroed() -> Self::Uninit
fn zeroed() -> Self::Uninit
Available on crate feature
uninit
only.Create a new tuple that all elements are wrapped by
MaybeUninit
and in uninitialized states, with the memory being filled with 0
bytes. Read moresource§fn to_uninit(self) -> Self::Uninit
fn to_uninit(self) -> Self::Uninit
Available on crate feature
uninit
only.Convert from
tuple!(a, b, c ...)
to tuple!(MaybeUninit::new(a), MaybeUninit::new(b), MaybeUninit::new(c) ...)
. Read moresource§fn by_ref(&mut self) -> &mut Selfwhere
Self: Sized,
fn by_ref(&mut self) -> &mut Selfwhere
Self: Sized,
Creates a “by reference” adapter for this instance. Read more
source§fn enumerate(self) -> Self::EnumerateOutputwhere
Self: Sized + Enumerable,
fn enumerate(self) -> Self::EnumerateOutputwhere
Self: Sized + Enumerable,
source§fn take<T, I>(self) -> (T, Self::TakeRemainder)
fn take<T, I>(self) -> (T, Self::TakeRemainder)
Take out the searched element, and get the remainder of tuple. Read more
source§fn get_mut<T, I>(&mut self) -> &mut T
fn get_mut<T, I>(&mut self) -> &mut T
Get a mutable reference of the searched element. Read more
source§fn swap<T, I>(&mut self, value: &mut T)where
Self: Search<T, I>,
fn swap<T, I>(&mut self, value: &mut T)where
Self: Search<T, I>,
Swap a specific element of the same type with another value. Read more
source§fn replace<T, I>(&mut self, value: T) -> Twhere
Self: Search<T, I>,
fn replace<T, I>(&mut self, value: T) -> Twhere
Self: Search<T, I>,
Replace a specific element of the same type with another value. Read more
source§fn map_replace<T, U, F, I>(self, f: F) -> Self::MapReplaceOutput<U>
fn map_replace<T, U, F, I>(self, f: F) -> Self::MapReplaceOutput<U>
Replace a specific element with another value that may be of a different type. Read more
source§fn subseq_ref<Seq, I>(&self) -> Seq::AsRefOutput<'_>
fn subseq_ref<Seq, I>(&self) -> Seq::AsRefOutput<'_>
source§fn subseq_mut<Seq, I>(&mut self) -> Seq::AsMutOutput<'_>
fn subseq_mut<Seq, I>(&mut self) -> Seq::AsMutOutput<'_>
source§fn swap_subseq<Seq, I>(&mut self, subseq: &mut Seq)
fn swap_subseq<Seq, I>(&mut self, subseq: &mut Seq)
Swap elements with a subsequence. Read more
source§fn replace_subseq<Seq, I>(&mut self, subseq: Seq) -> Seq
fn replace_subseq<Seq, I>(&mut self, subseq: Seq) -> Seq
Replace elements with a subsequence. Read more
source§fn map_replace_subseq<Seq, F, I>(self, f: F) -> Self::MapReplaceOutput
fn map_replace_subseq<Seq, F, I>(self, f: F) -> Self::MapReplaceOutput
Replace elements of specific subsequence with another sequence
that may be of different element types. Read more
source§fn foreach_subseq<Seq, F, I>(self, f: F) -> Self::MapReplaceOutput
fn foreach_subseq<Seq, F, I>(self, f: F) -> Self::MapReplaceOutput
Replace elements of specific subsequence with another sequence
that may be of different element types. Read more
source§fn con_subseq<Seq, I>(self) -> Seq
fn con_subseq<Seq, I>(self) -> Seq
Take out a contiguous subsequence. Read more
source§fn con_subseq_ref<Seq, I>(&self) -> Seq::AsRefOutput<'_>
fn con_subseq_ref<Seq, I>(&self) -> Seq::AsRefOutput<'_>
Similar to
con_subseq()
,
but all its elements are immutable references to the supersequence’s elements. Read moresource§fn con_subseq_mut<Seq, I>(&mut self) -> Seq::AsMutOutput<'_>
fn con_subseq_mut<Seq, I>(&mut self) -> Seq::AsMutOutput<'_>
Similar to
con_subseq()
,
but all its elements are mutable references to the supersequence’s elements. Read moresource§fn swap_con_subseq<Seq, I>(&mut self, subseq: &mut Seq)
fn swap_con_subseq<Seq, I>(&mut self, subseq: &mut Seq)
Swap elements with a contiguous subsequence. Read more
source§fn replace_con_subseq<Seq, I>(&mut self, subseq: Seq) -> Seq
fn replace_con_subseq<Seq, I>(&mut self, subseq: Seq) -> Seq
Replace elements with a contiguous subsequence. Read more
source§fn map_replace_con_subseq<Seq, F, I>(self, f: F) -> Self::MapReplaceOutput
fn map_replace_con_subseq<Seq, F, I>(self, f: F) -> Self::MapReplaceOutput
Replace elements of specific contiguous subsequence with another sequence
that may be of different element types. Read more
source§fn foreach_con_subseq<Seq, F, I>(self, f: F) -> Self::MapReplaceOutput
fn foreach_con_subseq<Seq, F, I>(self, f: F) -> Self::MapReplaceOutput
Replace elements of specific contiguous subsequence with another sequence
that may be of different element types. Read more
source§fn subset_ref<Seq, I>(&self) -> Seq::AsRefOutput<'_>
fn subset_ref<Seq, I>(&self) -> Seq::AsRefOutput<'_>
👎Deprecated since 0.10.0: Use subseq_ref() or con_subseq_ref() instead
In the past it was used for the functionality of
subseq_ref()
,
however it did not live up to its name: you actually got a subsequence not a subset while
subsets are not required to maintain a consistent element order as the superset. Read moresource§fn subset_mut<Seq, I>(&mut self) -> Seq::AsMutOutput<'_>
fn subset_mut<Seq, I>(&mut self) -> Seq::AsMutOutput<'_>
👎Deprecated since 0.10.0: Use subseq_mut() or con_subseq_mut() instead
In the past it was used for the functionality of
subseq_mut()
,
however it did not live up to its name: you actually got a subsequence not a subset while
subsets are not required to maintain a consistent element order as the superset. Read moresource§fn swap_with<Seq, I>(&mut self, subseq: &mut Seq)
fn swap_with<Seq, I>(&mut self, subseq: &mut Seq)
👎Deprecated since 0.10.0: Use swap(), swap_subseq() or swap_con_subseq() instead
In the past it was used for the functionality of
swap_con_subseq()
,
but with the addition of swap_subseq()
,
the functionality of this method becomes very unclear. Read moresource§fn replace_with<Seq, I>(&mut self, subseq: Seq) -> Seq
fn replace_with<Seq, I>(&mut self, subseq: Seq) -> Seq
👎Deprecated since 0.10.0: Use replace(), replace_subseq() or replace_con_subseq() instead
In the past it was used for the functionality of
replace_con_subseq()
,
but with the addition of replace_subseq()
,
the functionality of this method becomes very unclear. Read moresource§fn as_deref(&self) -> Self::AsDerefOutput<'_>where
Self: AsDeref,
fn as_deref(&self) -> Self::AsDerefOutput<'_>where
Self: AsDeref,
source§fn as_deref_mut(&mut self) -> Self::AsDerefMutOutput<'_>where
Self: AsDerefMut,
fn as_deref_mut(&mut self) -> Self::AsDerefMutOutput<'_>where
Self: AsDerefMut,
source§fn cloned(&self) -> Self::ClonedOutputwhere
Self: Cloned,
fn cloned(&self) -> Self::ClonedOutputwhere
Self: Cloned,
If the elements of the tuple are all references, clone its elements to a new tuple. Read more
source§fn copied(&self) -> Self::CopiedOutputwhere
Self: Copied,
fn copied(&self) -> Self::CopiedOutputwhere
Self: Copied,
If the elements of the tuple are all references, copy its elements to a new tuple. Read more
source§fn owned(&self) -> Self::OwnedOutputwhere
Self: Owned,
fn owned(&self) -> Self::OwnedOutputwhere
Self: Owned,
Available on crate features
std
or alloc
only.If the elements of the tuple are all references, clone its elements to a new tuple. Read more
source§fn rot_l(self) -> Self::RotLeftOutput
fn rot_l(self) -> Self::RotLeftOutput
Left rotates the elements of the tuple. Read more
source§fn rot_r(self) -> Self::RotRightOutput
fn rot_r(self) -> Self::RotRightOutput
Right rotates the elements of the tuple. Read more
source§unsafe fn uninit_assume_init(self) -> Self::Initialized
unsafe fn uninit_assume_init(self) -> Self::Initialized
Available on crate feature
uninit
only.Extract the values of a tuple consisting of
MaybeUninit
elements. Read moresource§unsafe fn uninit_assume_init_one<T, I>(self) -> Self::MapReplaceOutput<T>
unsafe fn uninit_assume_init_one<T, I>(self) -> Self::MapReplaceOutput<T>
Available on crate feature
uninit
only.Extract value from a specific
MaybeUninit
element. Read moresource§unsafe fn uninit_assume_init_read(&self) -> Self::Initializedwhere
Self: Uninit,
unsafe fn uninit_assume_init_read(&self) -> Self::Initializedwhere
Self: Uninit,
Available on crate feature
uninit
only.Read the values of a tuple consisting of
MaybeUninit
elements. Read moresource§unsafe fn uninit_assume_init_read_one<T, I>(&self) -> Twhere
Self: Search<MaybeUninit<T>, I>,
unsafe fn uninit_assume_init_read_one<T, I>(&self) -> Twhere
Self: Search<MaybeUninit<T>, I>,
Available on crate feature
uninit
only.Read one value from a specific
MaybeUninit
element. Read moresource§unsafe fn uninit_assume_init_ref(
&self,
) -> <Self::Initialized as TupleLike>::AsRefOutput<'_>where
Self: Uninit,
unsafe fn uninit_assume_init_ref(
&self,
) -> <Self::Initialized as TupleLike>::AsRefOutput<'_>where
Self: Uninit,
Available on crate feature
uninit
only.Get immutable references to values of a tuple consisting of
MaybeUninit
elements. Read moresource§unsafe fn uninit_assume_init_ref_one<T, I>(&self) -> &Twhere
Self: Search<MaybeUninit<T>, I>,
unsafe fn uninit_assume_init_ref_one<T, I>(&self) -> &Twhere
Self: Search<MaybeUninit<T>, I>,
Available on crate feature
uninit
only.Get immutable reference to value of a specific
MaybeUninit
element. Read moresource§unsafe fn uninit_assume_init_mut(
&mut self,
) -> <Self::Initialized as TupleLike>::AsMutOutput<'_>where
Self: Uninit,
unsafe fn uninit_assume_init_mut(
&mut self,
) -> <Self::Initialized as TupleLike>::AsMutOutput<'_>where
Self: Uninit,
Available on crate feature
uninit
only.Get mutable references to values of a tuple consisting of
MaybeUninit
elements. Read moresource§unsafe fn uninit_assume_init_mut_one<T, I>(&mut self) -> &mut Twhere
Self: Search<MaybeUninit<T>, I>,
unsafe fn uninit_assume_init_mut_one<T, I>(&mut self) -> &mut Twhere
Self: Search<MaybeUninit<T>, I>,
Available on crate feature
uninit
only.Get mutable reference to value of a specific
MaybeUninit
element. Read moresource§unsafe fn uninit_assume_init_drop(&mut self)where
Self: Uninit,
unsafe fn uninit_assume_init_drop(&mut self)where
Self: Uninit,
Available on crate feature
uninit
only.Drop values in place for a tuple consisting of
MaybeUninit
elements. Read moresource§unsafe fn uninit_assume_init_drop_one<T, I>(&mut self)where
Self: Search<MaybeUninit<T>, I>,
unsafe fn uninit_assume_init_drop_one<T, I>(&mut self)where
Self: Search<MaybeUninit<T>, I>,
Available on crate feature
uninit
only.Drop value in place for a specific
MaybeUninit
element. Read moresource§fn uninit_as_ptr(&self) -> <Self::Initialized as TupleLike>::AsPtrOutputwhere
Self: Uninit,
fn uninit_as_ptr(&self) -> <Self::Initialized as TupleLike>::AsPtrOutputwhere
Self: Uninit,
Available on crate feature
uninit
only.Get points to values of a tuple consisting of
MaybeUninit
elements. Read moresource§fn uninit_as_mut_ptr(
&mut self,
) -> <Self::Initialized as TupleLike>::AsMutPtrOutputwhere
Self: Uninit,
fn uninit_as_mut_ptr(
&mut self,
) -> <Self::Initialized as TupleLike>::AsMutPtrOutputwhere
Self: Uninit,
Available on crate feature
uninit
only.Get mutable points to values of a tuple consisting of
MaybeUninit
elements. Read moresource§fn uninit_write_one<T, I>(&mut self, value: T) -> &mut Twhere
Self: Search<MaybeUninit<T>, I>,
fn uninit_write_one<T, I>(&mut self, value: T) -> &mut Twhere
Self: Search<MaybeUninit<T>, I>,
Available on crate feature
uninit
only.Set value to a specific
MaybeUninit
element in a tuple. Read moresource§fn uninit_write(
&mut self,
init: Self::Initialized,
) -> <Self::Initialized as TupleLike>::AsMutOutput<'_>where
Self: Uninit,
fn uninit_write(
&mut self,
init: Self::Initialized,
) -> <Self::Initialized as TupleLike>::AsMutOutput<'_>where
Self: Uninit,
Available on crate feature
uninit
only.Set values to a tuple consisting of
MaybeUninit
elements. Read moresource§unsafe fn uninit_assume_init_subseq<Seq, I>(self) -> Self::PartiallyInitialized
unsafe fn uninit_assume_init_subseq<Seq, I>(self) -> Self::PartiallyInitialized
Available on crate feature
uninit
only.Extract values of a specific subsequence consisting of
MaybeUninit
elements. Read moresource§unsafe fn uninit_assume_init_read_subseq<Seq, I>(&self) -> Seqwhere
Seq: TupleLike,
Self: UninitSubseq<Seq, I>,
unsafe fn uninit_assume_init_read_subseq<Seq, I>(&self) -> Seqwhere
Seq: TupleLike,
Self: UninitSubseq<Seq, I>,
Available on crate feature
uninit
only.Read the values of a specific subsequence consisting of
MaybeUninit
elements. Read moresource§unsafe fn uninit_assume_init_ref_subseq<Seq, I>(
&self,
) -> <Seq as TupleLike>::AsRefOutput<'_>where
Seq: TupleLike,
Self: UninitSubseq<Seq, I>,
unsafe fn uninit_assume_init_ref_subseq<Seq, I>(
&self,
) -> <Seq as TupleLike>::AsRefOutput<'_>where
Seq: TupleLike,
Self: UninitSubseq<Seq, I>,
Available on crate feature
uninit
only.Get immutable references to values of a specific subsequence
consisting of
MaybeUninit
elements. Read moresource§unsafe fn uninit_assume_init_mut_subseq<Seq, I>(
&mut self,
) -> <Seq as TupleLike>::AsMutOutput<'_>where
Seq: TupleLike,
Self: UninitSubseq<Seq, I>,
unsafe fn uninit_assume_init_mut_subseq<Seq, I>(
&mut self,
) -> <Seq as TupleLike>::AsMutOutput<'_>where
Seq: TupleLike,
Self: UninitSubseq<Seq, I>,
Available on crate feature
uninit
only.Get mutable references to values of a specific subsequence
consisting of
MaybeUninit
elements. Read moresource§fn uninit_subseq_as_ptr<Seq, I>(&self) -> <Seq as TupleLike>::AsPtrOutputwhere
Seq: TupleLike,
Self: UninitSubseq<Seq, I>,
fn uninit_subseq_as_ptr<Seq, I>(&self) -> <Seq as TupleLike>::AsPtrOutputwhere
Seq: TupleLike,
Self: UninitSubseq<Seq, I>,
Available on crate feature
uninit
only.Get pointers to values of a specific subsequence
consisting of
MaybeUninit
elements. Read moresource§fn uninit_subseq_as_mut_ptr<Seq, I>(
&mut self,
) -> <Seq as TupleLike>::AsMutPtrOutputwhere
Seq: TupleLike,
Self: UninitSubseq<Seq, I>,
fn uninit_subseq_as_mut_ptr<Seq, I>(
&mut self,
) -> <Seq as TupleLike>::AsMutPtrOutputwhere
Seq: TupleLike,
Self: UninitSubseq<Seq, I>,
Available on crate feature
uninit
only.Get mutable pointers to values of a specific subsequence
consisting of
MaybeUninit
elements. Read moresource§fn uninit_write_subseq<Seq, I>(&mut self, subseq: Seq) -> Seq::AsMutOutput<'_>where
Seq: TupleLike,
Self: UninitSubseq<Seq, I>,
fn uninit_write_subseq<Seq, I>(&mut self, subseq: Seq) -> Seq::AsMutOutput<'_>where
Seq: TupleLike,
Self: UninitSubseq<Seq, I>,
Available on crate feature
uninit
only.Set values to a subsequence consisting of
MaybeUninit
elements. Read moresource§unsafe fn uninit_assume_init_drop_subseq<Seq, I>(&mut self)where
Seq: TupleLike,
Self: UninitSubseq<Seq, I>,
unsafe fn uninit_assume_init_drop_subseq<Seq, I>(&mut self)where
Seq: TupleLike,
Self: UninitSubseq<Seq, I>,
Available on crate feature
uninit
only.Drop values in place for a subsequence consisting of
MaybeUninit
elements. Read moresource§unsafe fn uninit_assume_init_con_subseq<Seq, I>(
self,
) -> Self::PartiallyInitialized
unsafe fn uninit_assume_init_con_subseq<Seq, I>( self, ) -> Self::PartiallyInitialized
Available on crate feature
uninit
only.Extract values of a specific contiguous subsequence consisting of
MaybeUninit
elements. Read moresource§unsafe fn uninit_assume_init_read_con_subseq<Seq, I>(&self) -> Seqwhere
Seq: TupleLike,
Self: UninitConSubseq<Seq, I>,
unsafe fn uninit_assume_init_read_con_subseq<Seq, I>(&self) -> Seqwhere
Seq: TupleLike,
Self: UninitConSubseq<Seq, I>,
Available on crate feature
uninit
only.Read the values of a specific contiguous subsequence consisting of
MaybeUninit
elements. Read moresource§unsafe fn uninit_assume_init_ref_con_subseq<Seq, I>(
&self,
) -> <Seq as TupleLike>::AsRefOutput<'_>where
Seq: TupleLike,
Self: UninitConSubseq<Seq, I>,
unsafe fn uninit_assume_init_ref_con_subseq<Seq, I>(
&self,
) -> <Seq as TupleLike>::AsRefOutput<'_>where
Seq: TupleLike,
Self: UninitConSubseq<Seq, I>,
Available on crate feature
uninit
only.Get immutable references to values of a specific contiguous subsequence
consisting of
MaybeUninit
elements. Read moresource§unsafe fn uninit_assume_init_mut_con_subseq<Seq, I>(
&mut self,
) -> <Seq as TupleLike>::AsMutOutput<'_>where
Seq: TupleLike,
Self: UninitConSubseq<Seq, I>,
unsafe fn uninit_assume_init_mut_con_subseq<Seq, I>(
&mut self,
) -> <Seq as TupleLike>::AsMutOutput<'_>where
Seq: TupleLike,
Self: UninitConSubseq<Seq, I>,
Available on crate feature
uninit
only.Get mutable references to values of a specific contiguous subsequence
consisting of
MaybeUninit
elements. Read moresource§fn uninit_con_subseq_as_ptr<Seq, I>(&self) -> <Seq as TupleLike>::AsPtrOutputwhere
Seq: TupleLike,
Self: UninitConSubseq<Seq, I>,
fn uninit_con_subseq_as_ptr<Seq, I>(&self) -> <Seq as TupleLike>::AsPtrOutputwhere
Seq: TupleLike,
Self: UninitConSubseq<Seq, I>,
Available on crate feature
uninit
only.Get pointers to values of a specific contiguous subsequence
consisting of
MaybeUninit
elements. Read moresource§fn uninit_con_subseq_as_mut_ptr<Seq, I>(
&mut self,
) -> <Seq as TupleLike>::AsMutPtrOutputwhere
Seq: TupleLike,
Self: UninitConSubseq<Seq, I>,
fn uninit_con_subseq_as_mut_ptr<Seq, I>(
&mut self,
) -> <Seq as TupleLike>::AsMutPtrOutputwhere
Seq: TupleLike,
Self: UninitConSubseq<Seq, I>,
Available on crate feature
uninit
only.Get mutable pointers to values of a specific contiguous subsequence
consisting of
MaybeUninit
elements. Read moresource§fn uninit_write_con_subseq<Seq, I>(
&mut self,
subseq: Seq,
) -> Seq::AsMutOutput<'_>where
Seq: TupleLike,
Self: UninitConSubseq<Seq, I>,
fn uninit_write_con_subseq<Seq, I>(
&mut self,
subseq: Seq,
) -> Seq::AsMutOutput<'_>where
Seq: TupleLike,
Self: UninitConSubseq<Seq, I>,
Available on crate feature
uninit
only.Set values to a contiguous subsequence consisting of
MaybeUninit
elements. Read moresource§unsafe fn uninit_assume_init_drop_con_subseq<Seq, I>(&mut self)where
Seq: TupleLike,
Self: UninitConSubseq<Seq, I>,
unsafe fn uninit_assume_init_drop_con_subseq<Seq, I>(&mut self)where
Seq: TupleLike,
Self: UninitConSubseq<Seq, I>,
Available on crate feature
uninit
only.Drop values in place for a contiguous subsequence consisting of
MaybeUninit
elements. Read moresource§fn untuple(self) -> Self::UntupleOutputwhere
Self: Untupleable + Sized,
fn untuple(self) -> Self::UntupleOutputwhere
Self: Untupleable + Sized,
Untuple a tuple, whose elements are all tuples. Read more
source§fn flatten(self) -> Self::UntupleOutputwhere
Self: Untupleable + Sized,
fn flatten(self) -> Self::UntupleOutputwhere
Self: Untupleable + Sized,
Flatten one level of nesting in the tuple. Read more
source§fn foreach<F>(self, mapper: F) -> <Self as Foreach<F>>::Output
fn foreach<F>(self, mapper: F) -> <Self as Foreach<F>>::Output
Traverse the tuple, and collect the output of traversal into a new tuple. Read more
source§fn fold<F, Acc>(self, folder: F, acc: Acc) -> <Self as Foldable<F, Acc>>::Output
fn fold<F, Acc>(self, folder: F, acc: Acc) -> <Self as Foldable<F, Acc>>::Output
Fold the tuple. Read more
source§fn any<Pred>(&self, predicate: Pred) -> boolwhere
Self: TestAny<Pred>,
fn any<Pred>(&self, predicate: Pred) -> boolwhere
Self: TestAny<Pred>,
Tests if any element of the tuple matches a predicate. Read more
source§fn all<Pred>(&self, predicate: Pred) -> boolwhere
Self: TestAll<Pred>,
fn all<Pred>(&self, predicate: Pred) -> boolwhere
Self: TestAll<Pred>,
Tests if every element of the tuple matches a predicate. Read more
source§fn zip2<T>(self, rhs: T) -> Self::ZipOutput2
fn zip2<T>(self, rhs: T) -> Self::ZipOutput2
Zip two tuples, but output elements are primitive tuples. Read more
source§fn unzip(self) -> (Self::UnzipOutputLeft, Self::UnzipOutputRight)where
Self: Unzippable + Sized,
fn unzip(self) -> (Self::UnzipOutputLeft, Self::UnzipOutputRight)where
Self: Unzippable + Sized,
source§fn extend<T>(self, rhs: T) -> Self::ExtendBackOutputwhere
Self: Extendable<T> + Sized,
fn extend<T>(self, rhs: T) -> Self::ExtendBackOutputwhere
Self: Extendable<T> + Sized,
If the elements of a tuple are all tuples, push an element to the back of each tuple element. Read more
source§fn extend_front<T>(self, rhs: T) -> Self::ExtendFrontOutputwhere
Self: Extendable<T> + Sized,
fn extend_front<T>(self, rhs: T) -> Self::ExtendFrontOutputwhere
Self: Extendable<T> + Sized,
If the elements of a tuple are all tuples, push an element to the front of each tuple element. Read more
source§fn extend_back<T>(self, rhs: T) -> Self::ExtendBackOutputwhere
Self: Extendable<T> + Sized,
fn extend_back<T>(self, rhs: T) -> Self::ExtendBackOutputwhere
Self: Extendable<T> + Sized,
If the elements of a tuple are all tuples, push an element to the front of each tuple element.
Same as
extend()
.source§fn shrink(self) -> (Self::ShrinkBackOutput, Self::ShrinkBackElements)where
Self: Shrinkable + Sized,
fn shrink(self) -> (Self::ShrinkBackOutput, Self::ShrinkBackElements)where
Self: Shrinkable + Sized,
If the elements of a tuple are all tuples, pop an element from the back of each tuple element. Read more
source§fn shrink_front(self) -> (Self::ShrinkFrontOutput, Self::ShrinkFrontElements)where
Self: Shrinkable + Sized,
fn shrink_front(self) -> (Self::ShrinkFrontOutput, Self::ShrinkFrontElements)where
Self: Shrinkable + Sized,
If the elements of a tuple are all tuples, pop an element from the front of each tuple element. Read more
source§fn shrink_back(self) -> (Self::ShrinkBackOutput, Self::ShrinkBackElements)where
Self: Shrinkable + Sized,
fn shrink_back(self) -> (Self::ShrinkBackOutput, Self::ShrinkBackElements)where
Self: Shrinkable + Sized,
If the elements of a tuple are all tuples, pop an element from the back of each tuple element.
Same as
shrink()
.source§fn combine<T>(self, rhs: T) -> Self::CombineOutputwhere
Self: Combinable<T> + Sized,
fn combine<T>(self, rhs: T) -> Self::CombineOutputwhere
Self: Combinable<T> + Sized,
If two tuples have the same number of elements, and their elements are both tuples,
join their tuple elements one-to-one. Read more
source§fn replace_head<T>(self, rhs: T) -> (Self::ReplaceOutput, Self::Replaced)
fn replace_head<T>(self, rhs: T) -> (Self::ReplaceOutput, Self::Replaced)
Replace the first N elements of the tuple with all elements of another tuple of N elements. Read more
source§fn replace_tail<T, I>(self, rhs: T) -> (Self::ReplaceOutput, Self::Replaced)
fn replace_tail<T, I>(self, rhs: T) -> (Self::ReplaceOutput, Self::Replaced)
Replace the last N elements of the tuple with all elements of another tuple of N elements. Read more
source§fn call_mut<T, P>(&mut self, rhs: T) -> <Self as MutCallable<T, P>>::Outputwhere
Self: MutCallable<T, P>,
fn call_mut<T, P>(&mut self, rhs: T) -> <Self as MutCallable<T, P>>::Outputwhere
Self: MutCallable<T, P>,
source§fn call_once<T, P>(self, rhs: T) -> <Self as OnceCallable<T, P>>::Outputwhere
Self: OnceCallable<T, P> + Sized,
fn call_once<T, P>(self, rhs: T) -> <Self as OnceCallable<T, P>>::Outputwhere
Self: OnceCallable<T, P> + Sized,
source§fn unwrap(self) -> Self::UnwrapOutput
fn unwrap(self) -> Self::UnwrapOutput
Available on crate feature
unwrap
only.source§fn unwrap_or_default(self) -> Self::UnwrapOutputwhere
Self: UnwrapOrDefault + Sized,
fn unwrap_or_default(self) -> Self::UnwrapOutputwhere
Self: UnwrapOrDefault + Sized,
Available on crate feature
unwrap
only.Convert from
Tuple<Wrapper0<T0>, Wrapper1<T1>, ... Wrappern<Tn>>
to Tuple<T0, T1, ..., Tn>
,
when all element types Wrapper0
, Wrapper1
… Wrappern
implement UnwrapOrDefault
. Read moresource§fn try_unwrap(self) -> Option<Self::UnwrapOutput>
fn try_unwrap(self) -> Option<Self::UnwrapOutput>
Available on crate feature
unwrap
only.source§impl Uninit for Unit
Available on crate feature uninit
only.
impl Uninit for Unit
Available on crate feature
uninit
only.§type Initialized = Unit
type Initialized = Unit
The type of the tuple consisting of values of each
MaybeUninit
elements.source§unsafe fn assume_init(self) -> Self::Initialized
unsafe fn assume_init(self) -> Self::Initialized
Extract the values of a tuple consisting of
MaybeUninit
elements. Read moresource§unsafe fn assume_init_read(&self) -> Self::Initialized
unsafe fn assume_init_read(&self) -> Self::Initialized
Read the values of a tuple consisting of
MaybeUninit
elements. Read moresource§unsafe fn assume_init_ref(
&self,
) -> <Self::Initialized as TupleLike>::AsRefOutput<'_>
unsafe fn assume_init_ref( &self, ) -> <Self::Initialized as TupleLike>::AsRefOutput<'_>
Get immutable references to values of a tuple consisting of
MaybeUninit
elements. Read moresource§unsafe fn assume_init_mut(
&mut self,
) -> <Self::Initialized as TupleLike>::AsMutOutput<'_>
unsafe fn assume_init_mut( &mut self, ) -> <Self::Initialized as TupleLike>::AsMutOutput<'_>
Get mutable references to values of a tuple consisting of
MaybeUninit
elements. Read moresource§unsafe fn assume_init_drop(&mut self)
unsafe fn assume_init_drop(&mut self)
Drop values in place for a tuple consisting of
MaybeUninit
elements. Read moresource§fn as_ptr(&self) -> <Self::Initialized as TupleLike>::AsPtrOutput
fn as_ptr(&self) -> <Self::Initialized as TupleLike>::AsPtrOutput
Get points to values of a tuple consisting of
MaybeUninit
elements. Read moresource§fn as_mut_ptr(&mut self) -> <Self::Initialized as TupleLike>::AsMutPtrOutput
fn as_mut_ptr(&mut self) -> <Self::Initialized as TupleLike>::AsMutPtrOutput
Get mutable points to values of a tuple consisting of
MaybeUninit
elements. Read moresource§fn write(
&mut self,
_: Self::Initialized,
) -> <Self::Initialized as TupleLike>::AsMutOutput<'_>
fn write( &mut self, _: Self::Initialized, ) -> <Self::Initialized as TupleLike>::AsMutOutput<'_>
Set values to a tuple consisting of
MaybeUninit
elements. Read moresource§impl UninitConSubseq<Unit, Complete> for Unit
Available on crate feature uninit
only.
impl UninitConSubseq<Unit, Complete> for Unit
Available on crate feature
uninit
only.§type PartiallyInitialized = Unit
type PartiallyInitialized = Unit
The type of tuple consisting of elements not in the contiguous subsequence and
values of each
MaybeUninit
elements in the contiguous subsequence.source§unsafe fn assume_init_con_subseq(self) -> Self::PartiallyInitialized
unsafe fn assume_init_con_subseq(self) -> Self::PartiallyInitialized
Extract values of a specific contiguous subsequence consisting of
MaybeUninit
elements. Read moresource§unsafe fn assume_init_read_con_subseq(&self) -> Unit
unsafe fn assume_init_read_con_subseq(&self) -> Unit
Read the values of a specific contiguous subsequence consisting of
MaybeUninit
elements. Read moresource§unsafe fn assume_init_ref_con_subseq(
&self,
) -> <Unit as TupleLike>::AsRefOutput<'_>
unsafe fn assume_init_ref_con_subseq( &self, ) -> <Unit as TupleLike>::AsRefOutput<'_>
Get immutable references to values of a specific contiguous subsequence
consisting of
MaybeUninit
elements. Read moresource§unsafe fn assume_init_mut_con_subseq(
&mut self,
) -> <Unit as TupleLike>::AsMutOutput<'_>
unsafe fn assume_init_mut_con_subseq( &mut self, ) -> <Unit as TupleLike>::AsMutOutput<'_>
Get mutable references to values of a specific contiguous subsequence
consisting of
MaybeUninit
elements. Read moresource§fn con_subseq_as_ptr(&self) -> <Unit as TupleLike>::AsPtrOutput
fn con_subseq_as_ptr(&self) -> <Unit as TupleLike>::AsPtrOutput
Get pointers to values of a specific contiguous subsequence
consisting of
MaybeUninit
elements. Read moresource§fn con_subseq_as_mut_ptr(&mut self) -> <Unit as TupleLike>::AsMutPtrOutput
fn con_subseq_as_mut_ptr(&mut self) -> <Unit as TupleLike>::AsMutPtrOutput
Get mutable pointers to values of a specific contiguous subsequence
consisting of
MaybeUninit
elements. Read moresource§fn write_con_subseq(&mut self, _: Unit) -> <Unit as TupleLike>::AsMutOutput<'_>
fn write_con_subseq(&mut self, _: Unit) -> <Unit as TupleLike>::AsMutOutput<'_>
Set values to a contiguous subsequence consisting of
MaybeUninit
elements. Read moresource§unsafe fn assume_init_drop_con_subseq(&mut self)
unsafe fn assume_init_drop_con_subseq(&mut self)
Drop values in place for a contiguous subsequence consisting of
MaybeUninit
elements. Read moresource§impl UninitSubseq<Unit, Complete> for Unit
Available on crate feature uninit
only.
impl UninitSubseq<Unit, Complete> for Unit
Available on crate feature
uninit
only.§type PartiallyInitialized = Unit
type PartiallyInitialized = Unit
The type of tuple consisting of elements not in the subsequence and
values of each
MaybeUninit
elements in the subsequence.source§unsafe fn assume_init_subseq(self) -> Self::PartiallyInitialized
unsafe fn assume_init_subseq(self) -> Self::PartiallyInitialized
Extract values of a specific subsequence consisting of
MaybeUninit
elements. Read moresource§unsafe fn assume_init_read_subseq(&self) -> Unit
unsafe fn assume_init_read_subseq(&self) -> Unit
Read the values of a specific subsequence consisting of
MaybeUninit
elements. Read moresource§unsafe fn assume_init_ref_subseq(&self) -> <Unit as TupleLike>::AsRefOutput<'_>
unsafe fn assume_init_ref_subseq(&self) -> <Unit as TupleLike>::AsRefOutput<'_>
Get immutable references to values of a specific subsequence
consisting of
MaybeUninit
elements. Read moresource§unsafe fn assume_init_mut_subseq(
&mut self,
) -> <Unit as TupleLike>::AsMutOutput<'_>
unsafe fn assume_init_mut_subseq( &mut self, ) -> <Unit as TupleLike>::AsMutOutput<'_>
Get mutable references to values of a specific subsequence
consisting of
MaybeUninit
elements. Read moresource§fn subseq_as_ptr(&self) -> <Unit as TupleLike>::AsPtrOutput
fn subseq_as_ptr(&self) -> <Unit as TupleLike>::AsPtrOutput
Get pointers to values of a specific subsequence
consisting of
MaybeUninit
elements. Read moresource§fn subseq_as_mut_ptr(&mut self) -> <Unit as TupleLike>::AsMutPtrOutput
fn subseq_as_mut_ptr(&mut self) -> <Unit as TupleLike>::AsMutPtrOutput
Get mutable pointers to values of a specific subsequence
consisting of
MaybeUninit
elements. Read moresource§fn write_subseq(&mut self, _: Unit) -> <Unit as TupleLike>::AsMutOutput<'_>
fn write_subseq(&mut self, _: Unit) -> <Unit as TupleLike>::AsMutOutput<'_>
Set values to a subsequence consisting of
MaybeUninit
elements. Read moresource§unsafe fn assume_init_drop_subseq(&mut self)
unsafe fn assume_init_drop_subseq(&mut self)
Drop values in place for a subsequence consisting of
MaybeUninit
elements. Read moresource§impl Untupleable for Unit
impl Untupleable for Unit
§type UntupleOutput = Unit
type UntupleOutput = Unit
The type of tuple generated by untupling the elements of the tuple.
source§fn untuple(self) -> Self::UntupleOutput
fn untuple(self) -> Self::UntupleOutput
Untuple a tuple, whose elements are all tuples with only one element. Read more
source§impl UnwrapOrDefault for Unit
Available on crate feature unwrap
only.
impl UnwrapOrDefault for Unit
Available on crate feature
unwrap
only.§type UnwrapOutput = Unit
type UnwrapOutput = Unit
Type of the contained value.
source§fn unwrap_or_default(self) -> Self::UnwrapOutput
fn unwrap_or_default(self) -> Self::UnwrapOutput
Get the contained value, or the default value if self does not contain a value. Read more
source§impl Unzippable for Unit
impl Unzippable for Unit
§type UnzipOutputLeft = Unit
type UnzipOutputLeft = Unit
The type of the new tuple which collects all first elements of the tuple elements.
§type UnzipOutputRight = Unit
type UnzipOutputRight = Unit
The type of the new tuple which collects all second elements of the tuple elements.
source§fn unzip(self) -> (Self::UnzipOutputLeft, Self::UnzipOutputRight)
fn unzip(self) -> (Self::UnzipOutputLeft, Self::UnzipOutputRight)
source§impl Zippable<Unit> for Unit
impl Zippable<Unit> for Unit
§type ZipOutput2 = Unit
type ZipOutput2 = Unit
The type of the output generated by zipping two tuples, but elements are primitive tuples.
impl Copy for Unit
impl Eq for Unit
impl StructuralPartialEq for Unit
impl TupleLenEqTo<Unit> for Unit
Auto Trait Implementations§
impl Freeze for Unit
impl RefUnwindSafe for Unit
impl Send for Unit
impl Sync for Unit
impl Unpin for Unit
impl UnwindSafe for Unit
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> HeadReplaceable<Unit> for Twhere
T: TupleLike,
impl<T> HeadReplaceable<Unit> for Twhere
T: TupleLike,
§type ReplaceOutput = T
type ReplaceOutput = T
The type of the tuple after replacing its elements.
source§fn replace_head(
self,
rhs: Unit,
) -> (<T as HeadReplaceable<Unit>>::ReplaceOutput, <T as HeadReplaceable<Unit>>::Replaced)
fn replace_head( self, rhs: Unit, ) -> (<T as HeadReplaceable<Unit>>::ReplaceOutput, <T as HeadReplaceable<Unit>>::Replaced)
Replace the first N elements of the tuple with all elements of another tuple of N elements. Read more
source§impl<T, U> TailReplaceable<T, Complete> for Uwhere
T: TupleLenEqTo<U>,
U: TupleLike,
impl<T, U> TailReplaceable<T, Complete> for Uwhere
T: TupleLenEqTo<U>,
U: TupleLike,
§type ReplaceOutput = T
type ReplaceOutput = T
The type of the tuple after replacing its elements.
source§fn replace_tail(
self,
rhs: T,
) -> (<U as TailReplaceable<T, Complete>>::ReplaceOutput, <U as TailReplaceable<T, Complete>>::Replaced)
fn replace_tail( self, rhs: T, ) -> (<U as TailReplaceable<T, Complete>>::ReplaceOutput, <U as TailReplaceable<T, Complete>>::Replaced)
Replace the last N elements of the tuple with all elements of another tuple of N elements. Read more