pub struct MethodLifetime {
pub method_name: String,
pub is_const: bool,
pub param_lifetimes: Vec<TypeLifetime>,
pub return_lifetime: TypeLifetime,
}Fields§
§method_name: String§is_const: bool§param_lifetimes: Vec<TypeLifetime>§return_lifetime: TypeLifetimeTrait Implementations§
Source§impl Clone for MethodLifetime
impl Clone for MethodLifetime
Source§fn clone(&self) -> MethodLifetime
fn clone(&self) -> MethodLifetime
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 MethodLifetime
impl RefUnwindSafe for MethodLifetime
impl Send for MethodLifetime
impl Sync for MethodLifetime
impl Unpin for MethodLifetime
impl UnwindSafe for MethodLifetime
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