pub struct LifetimeConstraint {
pub longer: String,
pub shorter: String,
}Expand description
Represents a lifetime constraint (e.g., ’a: ’b means ’a outlives ’b)
Fields§
§longer: String§shorter: StringTrait Implementations§
Source§impl Clone for LifetimeConstraint
impl Clone for LifetimeConstraint
Source§fn clone(&self) -> LifetimeConstraint
fn clone(&self) -> LifetimeConstraint
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 LifetimeConstraint
impl Debug for LifetimeConstraint
Source§impl PartialEq for LifetimeConstraint
impl PartialEq for LifetimeConstraint
impl StructuralPartialEq for LifetimeConstraint
Auto Trait Implementations§
impl Freeze for LifetimeConstraint
impl RefUnwindSafe for LifetimeConstraint
impl Send for LifetimeConstraint
impl Sync for LifetimeConstraint
impl Unpin for LifetimeConstraint
impl UnwindSafe for LifetimeConstraint
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