#[repr(transparent)]pub struct IntoIterWrapper<I, K> {
pub iter: ManuallyDrop<I>,
pub marker: IsIntoIterKind<I, K>,
}
Expand description
Wrapper for IntoIterKind
implementors,
that defines different methods depending on the
value of <T as IntoIterKind>::Kind
.
Fields§
§iter: ManuallyDrop<I>
§marker: IsIntoIterKind<I, K>
Implementations§
Source§impl IntoIterWrapper<Range<usize>, IsStdKind>
impl IntoIterWrapper<Range<usize>, IsStdKind>
pub const fn const_into_iter(self) -> RangeIter<usize>
Source§impl IntoIterWrapper<RangeInclusive<usize>, IsStdKind>
impl IntoIterWrapper<RangeInclusive<usize>, IsStdKind>
pub const fn const_into_iter(self) -> RangeInclusiveIter<usize>
Source§impl IntoIterWrapper<RangeFrom<usize>, IsStdKind>
impl IntoIterWrapper<RangeFrom<usize>, IsStdKind>
pub const fn const_into_iter(self) -> RangeFromIter<usize>
Source§impl IntoIterWrapper<&Range<usize>, IsStdKind>
impl IntoIterWrapper<&Range<usize>, IsStdKind>
pub const fn const_into_iter(self) -> RangeIter<usize>
Source§impl IntoIterWrapper<&RangeInclusive<usize>, IsStdKind>
impl IntoIterWrapper<&RangeInclusive<usize>, IsStdKind>
pub const fn const_into_iter(self) -> RangeInclusiveIter<usize>
Source§impl IntoIterWrapper<&RangeFrom<usize>, IsStdKind>
impl IntoIterWrapper<&RangeFrom<usize>, IsStdKind>
pub const fn const_into_iter(self) -> RangeFromIter<usize>
Source§impl<'a, T, const N: usize> IntoIterWrapper<&'a [T; N], IsStdKind>
impl<'a, T, const N: usize> IntoIterWrapper<&'a [T; N], IsStdKind>
pub const fn const_into_iter(self) -> Iter<'a, T>
Source§impl<'a, T, const N: usize> IntoIterWrapper<&&'a [T; N], IsStdKind>
impl<'a, T, const N: usize> IntoIterWrapper<&&'a [T; N], IsStdKind>
pub const fn const_into_iter(self) -> Iter<'a, T>
Source§impl<'a, T> IntoIterWrapper<&'a [T], IsStdKind>
impl<'a, T> IntoIterWrapper<&'a [T], IsStdKind>
pub const fn const_into_iter(self) -> Iter<'a, T>
Source§impl<'a, T> IntoIterWrapper<&&'a [T], IsStdKind>
impl<'a, T> IntoIterWrapper<&&'a [T], IsStdKind>
pub const fn const_into_iter(self) -> Iter<'a, T>
Source§impl<T> IntoIterWrapper<T, IsStdKind>
impl<T> IntoIterWrapper<T, IsStdKind>
pub const fn coerce(self) -> IntoIterWrapper<T, IsStdKind>
Source§impl<T> IntoIterWrapper<T, IsNonIteratorKind>
impl<T> IntoIterWrapper<T, IsNonIteratorKind>
Source§impl<T> IntoIterWrapper<T, IsIteratorKind>
impl<T> IntoIterWrapper<T, IsIteratorKind>
pub const fn coerce(self) -> IntoIterWrapper<T, IsIteratorKind>
pub const fn const_into_iter(self) -> T
Auto Trait Implementations§
impl<I, K> Freeze for IntoIterWrapper<I, K>where
I: Freeze,
impl<I, K> RefUnwindSafe for IntoIterWrapper<I, K>where
I: RefUnwindSafe,
impl<I, K> Send for IntoIterWrapper<I, K>where
I: Send,
impl<I, K> Sync for IntoIterWrapper<I, K>where
I: Sync,
impl<I, K> Unpin for IntoIterWrapper<I, K>where
I: Unpin,
impl<I, K> UnwindSafe for IntoIterWrapper<I, K>where
I: 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
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.