Struct sway_core::language::ty::TyImplTrait
source · pub struct TyImplTrait {
pub impl_type_parameters: Vec<TypeParameter>,
pub trait_name: CallPath,
pub trait_type_arguments: Vec<TypeArgument>,
pub methods: Vec<DeclarationId>,
pub implementing_for_type_id: TypeId,
pub type_implementing_for_span: Span,
pub span: Span,
}
Fields§
§impl_type_parameters: Vec<TypeParameter>
§trait_name: CallPath
§trait_type_arguments: Vec<TypeArgument>
§methods: Vec<DeclarationId>
§implementing_for_type_id: TypeId
§type_implementing_for_span: Span
§span: Span
Trait Implementations§
source§impl Clone for TyImplTrait
impl Clone for TyImplTrait
source§fn clone(&self) -> TyImplTrait
fn clone(&self) -> TyImplTrait
Returns a copy 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 more