Struct rustc::ty::AssociatedType
[−]
[src]
pub struct AssociatedType<'tcx> { pub name: Name, pub ty: Option<Ty<'tcx>>, pub vis: Visibility, pub defaultness: Defaultness, pub def_id: DefId, pub container: ImplOrTraitItemContainer, }
Unstable (
rustc_private
)Fields
name: Name
Unstable (
rustc_private
)ty: Option<Ty<'tcx>>
Unstable (
rustc_private
)vis: Visibility
Unstable (
rustc_private
)defaultness: Defaultness
Unstable (
rustc_private
)def_id: DefId
Unstable (
rustc_private
)container: ImplOrTraitItemContainer
Unstable (
rustc_private
)Trait Implementations
Derived Implementations
impl<'tcx> Debug for AssociatedType<'tcx>
[src]
impl<'tcx> Copy for AssociatedType<'tcx>
[src]
impl<'tcx> Clone for AssociatedType<'tcx>
[src]
fn clone(&self) -> AssociatedType<'tcx>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more