Struct rustc::ty::AssociatedConst
[−]
[src]
pub struct AssociatedConst<'tcx> { pub name: Name, pub ty: Ty<'tcx>, pub vis: Visibility, pub defaultness: Defaultness, pub def_id: DefId, pub container: ImplOrTraitItemContainer, pub has_value: bool, }
Unstable (
rustc_private
)Fields
name: Name
Unstable (
rustc_private
)ty: 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
)has_value: bool
Unstable (
rustc_private
)Trait Implementations
Derived Implementations
impl<'tcx> Debug for AssociatedConst<'tcx>
[src]
impl<'tcx> Copy for AssociatedConst<'tcx>
[src]
impl<'tcx> Clone for AssociatedConst<'tcx>
[src]
fn clone(&self) -> AssociatedConst<'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