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