pub struct ParameterLifetime {
pub lifetime_name: String,
pub is_mutable: bool,
pub is_owned: bool,
}Expand description
Represents the lifetime annotation of a parameter
Fields§
§lifetime_name: String§is_mutable: bool§is_owned: boolTrait Implementations§
Source§impl Clone for ParameterLifetime
impl Clone for ParameterLifetime
Source§fn clone(&self) -> ParameterLifetime
fn clone(&self) -> ParameterLifetime
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 ParameterLifetime
impl Debug for ParameterLifetime
Source§impl PartialEq for ParameterLifetime
impl PartialEq for ParameterLifetime
impl StructuralPartialEq for ParameterLifetime
Auto Trait Implementations§
impl Freeze for ParameterLifetime
impl RefUnwindSafe for ParameterLifetime
impl Send for ParameterLifetime
impl Sync for ParameterLifetime
impl Unpin for ParameterLifetime
impl UnwindSafe for ParameterLifetime
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