pub struct InferredLifetime {
pub name: String,
pub start: usize,
pub end: usize,
pub dependencies: HashSet<String>,
}Expand description
Represents an inferred lifetime for a variable
Fields§
§name: String§start: usizeThe point where this lifetime begins (statement index)
end: usizeThe point where this lifetime ends (statement index)
dependencies: HashSet<String>Variables that this lifetime depends on
Trait Implementations§
Source§impl Clone for InferredLifetime
impl Clone for InferredLifetime
Source§fn clone(&self) -> InferredLifetime
fn clone(&self) -> InferredLifetime
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 InferredLifetime
impl Debug for InferredLifetime
Source§impl PartialEq for InferredLifetime
impl PartialEq for InferredLifetime
impl StructuralPartialEq for InferredLifetime
Auto Trait Implementations§
impl Freeze for InferredLifetime
impl RefUnwindSafe for InferredLifetime
impl Send for InferredLifetime
impl Sync for InferredLifetime
impl Unpin for InferredLifetime
impl UnwindSafe for InferredLifetime
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