pub enum FoldRoute {
Slide(Slide),
Mapped,
Lanes,
}Expand description
How a fold reads an array that a mapping lays over storage, as fold_route chooses.
Variants§
Slide(Slide)
Sliding folds over the source, as Slide classifies the array as windows along the folded axes.
Mapped
Through the mapping, as along_mapped reads it.
Lanes
From the array’s items, which it gathers once and keeps, or reads in place where a fold of every item reads a block of storage.
Auto Trait Implementations§
impl !RefUnwindSafe for FoldRoute
impl !UnwindSafe for FoldRoute
impl Forget for FoldRoute
impl Freeze for FoldRoute
impl Send for FoldRoute
impl Sync for FoldRoute
impl Unpin for FoldRoute
impl UnsafeUnpin for FoldRoute
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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