pub struct OutlivesPredicate<'tcx, T> {
pub lhs: T,
pub rhs: Region<'tcx>,
}Expand description
Reflects [ty::OutlivesPredicate] as a named struct
instead of a tuple struct. This is because the script converting
JSONSchema types to OCaml doesn’t support tuple structs, and this
is the only tuple struct in the whole AST.
Fields§
§lhs: T§rhs: Region<'tcx>Trait Implementations§
Source§impl<'tcx, T: Clone> Clone for OutlivesPredicate<'tcx, T>
impl<'tcx, T: Clone> Clone for OutlivesPredicate<'tcx, T>
Source§impl<'tcx, T: Debug> Debug for OutlivesPredicate<'tcx, T>
impl<'tcx, T: Debug> Debug for OutlivesPredicate<'tcx, T>
impl<'tcx, T: Eq> Eq for OutlivesPredicate<'tcx, T>
Source§impl<'tcx, T: Hash> Hash for OutlivesPredicate<'tcx, T>
impl<'tcx, T: Hash> Hash for OutlivesPredicate<'tcx, T>
Source§impl<'tcx, T: PartialEq> PartialEq for OutlivesPredicate<'tcx, T>
impl<'tcx, T: PartialEq> PartialEq for OutlivesPredicate<'tcx, T>
Source§impl<'tcx, S: UnderOwnerState<'tcx>, T, U> SInto<S, OutlivesPredicate<'tcx, U>> for OutlivesClause<'tcx, T>where
T: SInto<S, U>,
impl<'tcx, S: UnderOwnerState<'tcx>, T, U> SInto<S, OutlivesPredicate<'tcx, U>> for OutlivesClause<'tcx, T>where
T: SInto<S, U>,
fn sinto(&self, s: &S) -> OutlivesPredicate<'tcx, U>
impl<'tcx, T: PartialEq> StructuralPartialEq for OutlivesPredicate<'tcx, T>
Auto Trait Implementations§
impl<'tcx, T> DynSend for OutlivesPredicate<'tcx, T>where
T: DynSend,
impl<'tcx, T> DynSync for OutlivesPredicate<'tcx, T>where
T: DynSync,
impl<'tcx, T> Forget for OutlivesPredicate<'tcx, T>
impl<'tcx, T> Freeze for OutlivesPredicate<'tcx, T>where
T: Freeze,
impl<'tcx, T> Move for OutlivesPredicate<'tcx, T>
impl<'tcx, T> RefUnwindSafe for OutlivesPredicate<'tcx, T>where
T: RefUnwindSafe,
impl<'tcx, T> Send for OutlivesPredicate<'tcx, T>where
T: Send,
impl<'tcx, T> Sync for OutlivesPredicate<'tcx, T>where
T: Sync,
impl<'tcx, T> Unpin for OutlivesPredicate<'tcx, T>where
T: Unpin,
impl<'tcx, T> UnsafeUnpin for OutlivesPredicate<'tcx, T>where
T: UnsafeUnpin,
impl<'tcx, T> UnwindSafe for OutlivesPredicate<'tcx, T>where
T: UnwindSafe,
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Dedup for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> HashConsable for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more