pub enum LifetimeAnnotation {
Lifetime(String),
Ref(String),
MutRef(String),
Owned,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for LifetimeAnnotation
impl Clone for LifetimeAnnotation
Source§fn clone(&self) -> LifetimeAnnotation
fn clone(&self) -> LifetimeAnnotation
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 moreSource§impl Debug for LifetimeAnnotation
impl Debug for LifetimeAnnotation
Source§impl PartialEq for LifetimeAnnotation
impl PartialEq for LifetimeAnnotation
impl StructuralPartialEq for LifetimeAnnotation
Auto Trait Implementations§
impl Freeze for LifetimeAnnotation
impl RefUnwindSafe for LifetimeAnnotation
impl Send for LifetimeAnnotation
impl Sync for LifetimeAnnotation
impl Unpin for LifetimeAnnotation
impl UnwindSafe for LifetimeAnnotation
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