pub struct LifetimedRefOf<'l, Type>(pub &'l str, pub Type);Expand description
Adds a reference with a lifetime before a type expression, i.e. &'<lifetime> <type>
Tuple Fields§
§0: &'l str§1: TypeTrait Implementations§
Source§impl<'l, Type: Clone> Clone for LifetimedRefOf<'l, Type>
impl<'l, Type: Clone> Clone for LifetimedRefOf<'l, Type>
Source§fn clone(&self) -> LifetimedRefOf<'l, Type>
fn clone(&self) -> LifetimedRefOf<'l, Type>
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 moreSource§impl<'l, Type: Debug> Debug for LifetimedRefOf<'l, Type>
impl<'l, Type: Debug> Debug for LifetimedRefOf<'l, Type>
Auto Trait Implementations§
impl<'l, Type> Freeze for LifetimedRefOf<'l, Type>where
Type: Freeze,
impl<'l, Type> RefUnwindSafe for LifetimedRefOf<'l, Type>where
Type: RefUnwindSafe,
impl<'l, Type> Send for LifetimedRefOf<'l, Type>where
Type: Send,
impl<'l, Type> Sync for LifetimedRefOf<'l, Type>where
Type: Sync,
impl<'l, Type> Unpin for LifetimedRefOf<'l, Type>where
Type: Unpin,
impl<'l, Type> UnwindSafe for LifetimedRefOf<'l, Type>where
Type: 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