pub enum LifetimeScope {
Function,
Struct,
Trait,
Impl,
}
Expand description
Scope where a lifetime is used
Variants§
Trait Implementations§
Source§impl Clone for LifetimeScope
impl Clone for LifetimeScope
Source§fn clone(&self) -> LifetimeScope
fn clone(&self) -> LifetimeScope
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 moreAuto Trait Implementations§
impl Freeze for LifetimeScope
impl RefUnwindSafe for LifetimeScope
impl Send for LifetimeScope
impl Sync for LifetimeScope
impl Unpin for LifetimeScope
impl UnwindSafe for LifetimeScope
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