pub struct RepeatSeq<W>(pub usize, pub W);Expand description
A struct that repeats a value multiple times in order to turn it into a WritableSeq.
This struct is indeed a generalization of SingularSeq (it’s equivalent when the count is 1).
Tuple Fields§
§0: usize§1: WTrait Implementations§
Auto Trait Implementations§
impl<W> Freeze for RepeatSeq<W>where
W: Freeze,
impl<W> RefUnwindSafe for RepeatSeq<W>where
W: RefUnwindSafe,
impl<W> Send for RepeatSeq<W>where
W: Send,
impl<W> Sync for RepeatSeq<W>where
W: Sync,
impl<W> Unpin for RepeatSeq<W>where
W: Unpin,
impl<W> UnwindSafe for RepeatSeq<W>where
W: 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