Struct konst::slice::WindowsRev
source · pub struct WindowsRev<'a, T> { /* private fields */ }
Expand description
Const equivalent of core::iter::Rev<core::slice::Windows>
This is constructed with windows
like this:
konst::slice::windows(slice, 1).rev()
Implementations§
Trait Implementations§
source§impl<'a, T> ConstIntoIter for WindowsRev<'a, T>
impl<'a, T> ConstIntoIter for WindowsRev<'a, T>
§type Kind = IsIteratorKind
type Kind = IsIteratorKind
What kind of type this is: Read more
§type IntoIter = WindowsRev<'a, T>
type IntoIter = WindowsRev<'a, T>
The iterator that this can be converted into.
Auto Trait Implementations§
impl<'a, T> Freeze for WindowsRev<'a, T>
impl<'a, T> RefUnwindSafe for WindowsRev<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for WindowsRev<'a, T>where
T: Sync,
impl<'a, T> Sync for WindowsRev<'a, T>where
T: Sync,
impl<'a, T> Unpin for WindowsRev<'a, T>
impl<'a, T> UnwindSafe for WindowsRev<'a, T>where
T: RefUnwindSafe,
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