pub struct TyImplTrait {
pub impl_type_parameters: Vec<TypeParameter>,
pub trait_name: CallPath,
pub trait_type_parameters: Vec<TypeParameter>,
pub methods: Vec<DeclarationId>,
pub implementing_for_type_id: TypeId,
pub type_implementing_for_span: Span,
/* private fields */
}
Fields
impl_type_parameters: Vec<TypeParameter>
trait_name: CallPath
trait_type_parameters: Vec<TypeParameter>
methods: Vec<DeclarationId>
implementing_for_type_id: TypeId
type_implementing_for_span: Span
Trait Implementations
sourceimpl Clone for TyImplTrait
impl Clone for TyImplTrait
sourcefn clone(&self) -> TyImplTrait
fn clone(&self) -> TyImplTrait
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for TyImplTrait
impl Debug for TyImplTrait
sourceimpl PartialEq<TyImplTrait> for TyImplTrait
impl PartialEq<TyImplTrait> for TyImplTrait
sourcefn eq(&self, other: &TyImplTrait) -> bool
fn eq(&self, other: &TyImplTrait) -> bool
impl Eq for TyImplTrait
impl StructuralEq for TyImplTrait
impl StructuralPartialEq for TyImplTrait
Auto Trait Implementations
impl RefUnwindSafe for TyImplTrait
impl Send for TyImplTrait
impl Sync for TyImplTrait
impl Unpin for TyImplTrait
impl UnwindSafe for TyImplTrait
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.