struct AssocReftTag;Trait Implementations§
Source§impl AssocItemTag for AssocReftTag
impl AssocItemTag for AssocReftTag
type AssocItem<'tcx> = AssocReft
fn descr(self) -> &'static str
fn trait_defines_item_named<'tcx>( self, genv: GlobalEnv<'_, 'tcx>, trait_def_id: DefId, assoc_name: Ident, ) -> QueryResult<Option<Self::AssocItem<'tcx>>>
fn transitive_bounds_that_define_assoc_item<'tcx>( self, genv: GlobalEnv<'_, 'tcx>, trait_refs: impl Iterator<Item = PolyTraitRef<'tcx>>, _assoc_name: Ident, ) -> impl Iterator<Item = PolyTraitRef<'tcx>>
Source§impl Clone for AssocReftTag
impl Clone for AssocReftTag
Source§fn clone(&self) -> AssocReftTag
fn clone(&self) -> AssocReftTag
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 moreimpl Copy for AssocReftTag
Auto Trait Implementations§
impl Freeze for AssocReftTag
impl RefUnwindSafe for AssocReftTag
impl Send for AssocReftTag
impl Sync for AssocReftTag
impl Unpin for AssocReftTag
impl UnwindSafe for AssocReftTag
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> 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