pub struct LifetimeUsage {
pub name: String,
pub location: Span,
pub scope: LifetimeScope,
}
Expand description
Represents lifetime usage in the code
Fields§
§name: String
§location: Span
§scope: LifetimeScope
Trait Implementations§
Source§impl Clone for LifetimeUsage
impl Clone for LifetimeUsage
Source§fn clone(&self) -> LifetimeUsage
fn clone(&self) -> LifetimeUsage
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for LifetimeUsage
impl RefUnwindSafe for LifetimeUsage
impl Send for LifetimeUsage
impl Sync for LifetimeUsage
impl Unpin for LifetimeUsage
impl UnwindSafe for LifetimeUsage
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