pub struct Copied<L>(pub L);Expand description
A list of Copy items handed out by value, over one that hands out
references to them.
What a list of primitives or values holds, it holds by value, so this is
what an implementation storing them, an OwnedList<u32>, is handed out
through: Copied(&self.scores).
Tuple Fields§
§0: LTrait Implementations§
impl<L: Copy> Copy for Copied<L>
Auto Trait Implementations§
impl<L> Freeze for Copied<L>where
L: Freeze,
impl<L> RefUnwindSafe for Copied<L>where
L: RefUnwindSafe,
impl<L> Send for Copied<L>where
L: Send,
impl<L> Sync for Copied<L>where
L: Sync,
impl<L> Unpin for Copied<L>where
L: Unpin,
impl<L> UnsafeUnpin for Copied<L>where
L: UnsafeUnpin,
impl<L> UnwindSafe for Copied<L>where
L: 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