pub struct Repeat<T>(/* private fields */);
Expand description
Const analog of core::iter::Repeat
,
constructed by repeat
.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Repeat<T>where
T: Freeze,
impl<T> RefUnwindSafe for Repeat<T>where
T: RefUnwindSafe,
impl<T> Send for Repeat<T>where
T: Send,
impl<T> Sync for Repeat<T>where
T: Sync,
impl<T> Unpin for Repeat<T>where
T: Unpin,
impl<T> UnwindSafe for Repeat<T>where
T: 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