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§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)