pub struct Scroller<'d, const N: usize, T, CLK, DIO, DELAY, I, M> { /* private fields */ }
Expand description
Scroll animation.
Responsible for running the animation.
Implementations§
Source§impl<'d, CLK, DIO, DELAY, ERR, I, M, InI> Scroller<'d, 4, Async, CLK, DIO, DELAY, I, M>where
ERR: 'd,
CLK: OutputPin<Error = ERR>,
DIO: OutputPin<Error = ERR> + ConditionalInputPin<ERR>,
DELAY: DelayNs,
I: Iterator<Item = InI> + 'd,
InI: DoubleEndedIterator<Item = u8> + ExactSizeIterator + 'd,
M: MaybeFlipped<4> + 'd,
impl<'d, CLK, DIO, DELAY, ERR, I, M, InI> Scroller<'d, 4, Async, CLK, DIO, DELAY, I, M>where
ERR: 'd,
CLK: OutputPin<Error = ERR>,
DIO: OutputPin<Error = ERR> + ConditionalInputPin<ERR>,
DELAY: DelayNs,
I: Iterator<Item = InI> + 'd,
InI: DoubleEndedIterator<Item = u8> + ExactSizeIterator + 'd,
M: MaybeFlipped<4> + 'd,
Source§impl<'d, CLK, DIO, DELAY, ERR, I, M, InI> Scroller<'d, 6, Async, CLK, DIO, DELAY, I, M>where
ERR: 'd,
CLK: OutputPin<Error = ERR>,
DIO: OutputPin<Error = ERR> + ConditionalInputPin<ERR>,
DELAY: DelayNs,
I: Iterator<Item = InI> + 'd,
InI: DoubleEndedIterator<Item = u8> + ExactSizeIterator + 'd,
M: MaybeFlipped<6> + 'd,
impl<'d, CLK, DIO, DELAY, ERR, I, M, InI> Scroller<'d, 6, Async, CLK, DIO, DELAY, I, M>where
ERR: 'd,
CLK: OutputPin<Error = ERR>,
DIO: OutputPin<Error = ERR> + ConditionalInputPin<ERR>,
DELAY: DelayNs,
I: Iterator<Item = InI> + 'd,
InI: DoubleEndedIterator<Item = u8> + ExactSizeIterator + 'd,
M: MaybeFlipped<6> + 'd,
Source§impl<'d, CLK, DIO, DELAY, ERR, I, M, InI> Scroller<'d, 4, Blocking, CLK, DIO, DELAY, I, M>where
ERR: 'd,
CLK: OutputPin<Error = ERR>,
DIO: OutputPin<Error = ERR> + ConditionalInputPin<ERR>,
DELAY: DelayNs,
I: Iterator<Item = InI> + 'd,
InI: DoubleEndedIterator<Item = u8> + ExactSizeIterator + 'd,
M: MaybeFlipped<4> + 'd,
impl<'d, CLK, DIO, DELAY, ERR, I, M, InI> Scroller<'d, 4, Blocking, CLK, DIO, DELAY, I, M>where
ERR: 'd,
CLK: OutputPin<Error = ERR>,
DIO: OutputPin<Error = ERR> + ConditionalInputPin<ERR>,
DELAY: DelayNs,
I: Iterator<Item = InI> + 'd,
InI: DoubleEndedIterator<Item = u8> + ExactSizeIterator + 'd,
M: MaybeFlipped<4> + 'd,
Source§impl<'d, CLK, DIO, DELAY, ERR, I, M, InI> Scroller<'d, 6, Blocking, CLK, DIO, DELAY, I, M>where
ERR: 'd,
CLK: OutputPin<Error = ERR>,
DIO: OutputPin<Error = ERR> + ConditionalInputPin<ERR>,
DELAY: DelayNs,
I: Iterator<Item = InI> + 'd,
InI: DoubleEndedIterator<Item = u8> + ExactSizeIterator + 'd,
M: MaybeFlipped<6> + 'd,
impl<'d, CLK, DIO, DELAY, ERR, I, M, InI> Scroller<'d, 6, Blocking, CLK, DIO, DELAY, I, M>where
ERR: 'd,
CLK: OutputPin<Error = ERR>,
DIO: OutputPin<Error = ERR> + ConditionalInputPin<ERR>,
DELAY: DelayNs,
I: Iterator<Item = InI> + 'd,
InI: DoubleEndedIterator<Item = u8> + ExactSizeIterator + 'd,
M: MaybeFlipped<6> + 'd,
Trait Implementations§
Auto Trait Implementations§
impl<'d, const N: usize, T, CLK, DIO, DELAY, I, M> Freeze for Scroller<'d, N, T, CLK, DIO, DELAY, I, M>
impl<'d, const N: usize, T, CLK, DIO, DELAY, I, M> RefUnwindSafe for Scroller<'d, N, T, CLK, DIO, DELAY, I, M>where
I: RefUnwindSafe,
M: RefUnwindSafe,
CLK: RefUnwindSafe,
DIO: RefUnwindSafe,
DELAY: RefUnwindSafe,
T: RefUnwindSafe,
impl<'d, const N: usize, T, CLK, DIO, DELAY, I, M> Send for Scroller<'d, N, T, CLK, DIO, DELAY, I, M>
impl<'d, const N: usize, T, CLK, DIO, DELAY, I, M> Sync for Scroller<'d, N, T, CLK, DIO, DELAY, I, M>
impl<'d, const N: usize, T, CLK, DIO, DELAY, I, M> Unpin for Scroller<'d, N, T, CLK, DIO, DELAY, I, M>
impl<'d, const N: usize, T, CLK, DIO, DELAY, I, M> !UnwindSafe for Scroller<'d, N, T, CLK, DIO, DELAY, I, M>
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