pub struct LifetimeOf<'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: TypeAuto Trait Implementations§
impl<'l, Type> Freeze for LifetimeOf<'l, Type>where
Type: Freeze,
impl<'l, Type> RefUnwindSafe for LifetimeOf<'l, Type>where
Type: RefUnwindSafe,
impl<'l, Type> Send for LifetimeOf<'l, Type>where
Type: Send,
impl<'l, Type> Sync for LifetimeOf<'l, Type>where
Type: Sync,
impl<'l, Type> Unpin for LifetimeOf<'l, Type>where
Type: Unpin,
impl<'l, Type> UnwindSafe for LifetimeOf<'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