pub enum ConstraintKind {
Outlives {
longer: String,
shorter: String,
},
Equal {
a: String,
b: String,
},
BorrowedFrom {
reference: String,
source: String,
},
MustLiveUntil {
lifetime: String,
scope_id: usize,
},
}Variants§
Trait Implementations§
Source§impl Clone for ConstraintKind
impl Clone for ConstraintKind
Source§fn clone(&self) -> ConstraintKind
fn clone(&self) -> ConstraintKind
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 ConstraintKind
impl RefUnwindSafe for ConstraintKind
impl Send for ConstraintKind
impl Sync for ConstraintKind
impl Unpin for ConstraintKind
impl UnwindSafe for ConstraintKind
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