pub enum Lt {
Arg(usize),
Return,
Default,
}
Expand description
Argument lifetime constraint.
Variants§
Arg(usize)
Outlives another argument.
Return
Outlives the return value on the stack.
This means that some variable must be declared and referenced before calling.
Default
No specified lifetime.
This means that the argument might be created after the return value on the stack.
Trait Implementations§
impl Copy for Lt
impl Eq for Lt
impl StructuralEq for Lt
impl StructuralPartialEq for Lt
Auto Trait Implementations§
impl RefUnwindSafe for Lt
impl Send for Lt
impl Sync for Lt
impl Unpin for Lt
impl UnwindSafe for Lt
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.