pub struct ArrConst<A, ACC: Accumulator<A, A, A>, const N: usize>(pub [A; N], _);Tuple Fields§
§0: [A; N]Trait Implementations§
Source§impl<A, ACC: Accumulator<A, A, A>, const N: usize> Accumulator<[A; N], [A; N], [A; N]> for ArrConst<A, ACC, N>where
A: StateType,
impl<A, ACC: Accumulator<A, A, A>, const N: usize> Accumulator<[A; N], [A; N], [A; N]> for ArrConst<A, ACC, N>where
A: StateType,
Source§impl<A: Clone, ACC: Clone + Accumulator<A, A, A>, const N: usize> Clone for ArrConst<A, ACC, N>
impl<A: Clone, ACC: Clone + Accumulator<A, A, A>, const N: usize> Clone for ArrConst<A, ACC, N>
Source§impl<A: Debug, ACC: Debug + Accumulator<A, A, A>, const N: usize> Debug for ArrConst<A, ACC, N>
impl<A: Debug, ACC: Debug + Accumulator<A, A, A>, const N: usize> Debug for ArrConst<A, ACC, N>
impl<A: Copy, ACC: Copy + Accumulator<A, A, A>, const N: usize> Copy for ArrConst<A, ACC, N>
Auto Trait Implementations§
impl<A, ACC, const N: usize> Freeze for ArrConst<A, ACC, N>where
A: Freeze,
impl<A, ACC, const N: usize> RefUnwindSafe for ArrConst<A, ACC, N>where
A: RefUnwindSafe,
ACC: RefUnwindSafe,
impl<A, ACC, const N: usize> Send for ArrConst<A, ACC, N>where
A: Send,
impl<A, ACC, const N: usize> Sync for ArrConst<A, ACC, N>where
A: Sync,
impl<A, ACC, const N: usize> Unpin for ArrConst<A, ACC, N>
impl<A, ACC, const N: usize> UnsafeUnpin for ArrConst<A, ACC, N>where
A: UnsafeUnpin,
impl<A, ACC, const N: usize> UnwindSafe for ArrConst<A, ACC, N>where
A: UnwindSafe,
ACC: 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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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