[−][src]Enum chalk_ir::LifetimeData
Lifetime data, including what kind of lifetime it is and what it points to.
Variants
BoundVar(BoundVar)
See TyData::BoundVar.
InferenceVar(InferenceVar)
Lifetime whose value is being inferred.
Placeholder(PlaceholderIndex)
Lifetime on some yet-unknown placeholder.
Phantom(Void, PhantomData<I>)
Lifetime on phantom data.
Implementations
impl<I: Interner> LifetimeData<I>
[src]
Trait Implementations
impl<I: Interner> CastTo<LifetimeData<I>> for LifetimeData<I>
[src]
fn cast_to(
self,
_interner: &<LifetimeData<I> as HasInterner>::Interner
) -> LifetimeData<I>
[src]
self,
_interner: &<LifetimeData<I> as HasInterner>::Interner
) -> LifetimeData<I>
impl<I: Clone + Interner> Clone for LifetimeData<I>
[src]
fn clone(&self) -> LifetimeData<I>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<I: Copy + Interner> Copy for LifetimeData<I>
[src]
impl<I: Interner> Debug for LifetimeData<I>
[src]
impl<I: Eq + Interner> Eq for LifetimeData<I>
[src]
impl<I: Interner> HasInterner for LifetimeData<I>
[src]
type Interner = I
The interner associated with the type.
impl<I: Hash + Interner> Hash for LifetimeData<I>
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<I: Ord + Interner> Ord for LifetimeData<I>
[src]
fn cmp(&self, other: &LifetimeData<I>) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl<I: PartialEq + Interner> PartialEq<LifetimeData<I>> for LifetimeData<I>
[src]
fn eq(&self, other: &LifetimeData<I>) -> bool
[src]
fn ne(&self, other: &LifetimeData<I>) -> bool
[src]
impl<I: PartialOrd + Interner> PartialOrd<LifetimeData<I>> for LifetimeData<I>
[src]
fn partial_cmp(&self, other: &LifetimeData<I>) -> Option<Ordering>
[src]
fn lt(&self, other: &LifetimeData<I>) -> bool
[src]
fn le(&self, other: &LifetimeData<I>) -> bool
[src]
fn gt(&self, other: &LifetimeData<I>) -> bool
[src]
fn ge(&self, other: &LifetimeData<I>) -> bool
[src]
impl<I: Interner> StructuralEq for LifetimeData<I>
[src]
impl<I: Interner> StructuralPartialEq for LifetimeData<I>
[src]
Auto Trait Implementations
impl<I> RefUnwindSafe for LifetimeData<I> where
I: RefUnwindSafe,
I: RefUnwindSafe,
impl<I> Send for LifetimeData<I> where
I: Send,
I: Send,
impl<I> Sync for LifetimeData<I> where
I: Sync,
I: Sync,
impl<I> Unpin for LifetimeData<I> where
I: Unpin,
I: Unpin,
impl<I> UnwindSafe for LifetimeData<I> where
I: UnwindSafe,
I: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Cast for T
[src]
fn cast<U>(self, interner: &U::Interner) -> U where
Self: CastTo<U>,
U: HasInterner,
[src]
Self: CastTo<U>,
U: HasInterner,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,