pub struct Lifetime<'l>(pub &'l str);Expand description
A standalone lifetime, intended to be used as a type argument or variable
Tuple Fields§
§0: &'l strTrait Implementations§
Auto Trait Implementations§
impl<'l> Freeze for Lifetime<'l>
impl<'l> RefUnwindSafe for Lifetime<'l>
impl<'l> Send for Lifetime<'l>
impl<'l> Sync for Lifetime<'l>
impl<'l> Unpin for Lifetime<'l>
impl<'l> UnwindSafe for Lifetime<'l>
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