pub struct TyWithIndex<'tcx>(pub Option<(usize, &'tcx TyKind<'tcx>, Option<usize>, bool)>);
Tuple Fields§
§0: Option<(usize, &'tcx TyKind<'tcx>, Option<usize>, bool)>
Implementations§
Source§impl<'tcx> TyWithIndex<'tcx>
impl<'tcx> TyWithIndex<'tcx>
Trait Implementations§
Source§impl<'tcx> Clone for TyWithIndex<'tcx>
impl<'tcx> Clone for TyWithIndex<'tcx>
Source§fn clone(&self) -> TyWithIndex<'tcx>
fn clone(&self) -> TyWithIndex<'tcx>
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<'tcx> Debug for TyWithIndex<'tcx>
impl<'tcx> Debug for TyWithIndex<'tcx>
Source§impl<'tcx> Default for TyWithIndex<'tcx>
impl<'tcx> Default for TyWithIndex<'tcx>
Source§fn default() -> TyWithIndex<'tcx>
fn default() -> TyWithIndex<'tcx>
Returns the “default value” for a type. Read more
Source§impl<'tcx> Hash for TyWithIndex<'tcx>
impl<'tcx> Hash for TyWithIndex<'tcx>
Source§impl<'tcx> PartialEq for TyWithIndex<'tcx>
impl<'tcx> PartialEq for TyWithIndex<'tcx>
impl<'tcx> Eq for TyWithIndex<'tcx>
impl<'tcx> StructuralPartialEq for TyWithIndex<'tcx>
Auto Trait Implementations§
impl<'tcx> Freeze for TyWithIndex<'tcx>
impl<'tcx> !RefUnwindSafe for TyWithIndex<'tcx>
impl<'tcx> Send for TyWithIndex<'tcx>
impl<'tcx> Sync for TyWithIndex<'tcx>
impl<'tcx> Unpin for TyWithIndex<'tcx>
impl<'tcx> !UnwindSafe for TyWithIndex<'tcx>
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<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.