pub struct LifetimeParam {
pub name: String,
}Expand description
Represents a lifetime parameter declared in the function signature
Example: In @lifetime: (&'a, &'b) -> &'a where 'a: 'b, we have lifetime params ’a and ’b
Fields§
§name: StringTrait Implementations§
Source§impl Clone for LifetimeParam
impl Clone for LifetimeParam
Source§fn clone(&self) -> LifetimeParam
fn clone(&self) -> LifetimeParam
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 LifetimeParam
impl Debug for LifetimeParam
Source§impl PartialEq for LifetimeParam
impl PartialEq for LifetimeParam
impl StructuralPartialEq for LifetimeParam
Auto Trait Implementations§
impl Freeze for LifetimeParam
impl RefUnwindSafe for LifetimeParam
impl Send for LifetimeParam
impl Sync for LifetimeParam
impl Unpin for LifetimeParam
impl UnwindSafe for LifetimeParam
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