pub struct AssociatedItem<Cont, Item>(pub Cont, pub Item);Expand description
An item attached to an associated container, via “::”.
The output will look like Cont::Item.
Tuple Fields§
§0: Cont§1: ItemTrait Implementations§
Source§impl<Cont: Clone, Item: Clone> Clone for AssociatedItem<Cont, Item>
impl<Cont: Clone, Item: Clone> Clone for AssociatedItem<Cont, Item>
Source§fn clone(&self) -> AssociatedItem<Cont, Item>
fn clone(&self) -> AssociatedItem<Cont, Item>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<Cont, Item> Freeze for AssociatedItem<Cont, Item>
impl<Cont, Item> RefUnwindSafe for AssociatedItem<Cont, Item>where
Cont: RefUnwindSafe,
Item: RefUnwindSafe,
impl<Cont, Item> Send for AssociatedItem<Cont, Item>
impl<Cont, Item> Sync for AssociatedItem<Cont, Item>
impl<Cont, Item> Unpin for AssociatedItem<Cont, Item>
impl<Cont, Item> UnwindSafe for AssociatedItem<Cont, Item>where
Cont: UnwindSafe,
Item: 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