Struct sway_core::language::ty::TySubmodule
source · pub struct TySubmodule {
pub library_name: Ident,
pub module: TyModule,
}
Fields§
§library_name: Ident
§module: TyModule
Implementations§
source§impl TySubmodule
impl TySubmodule
pub fn type_check(
parent_ctx: TypeCheckContext<'_>,
dep_name: DepName,
submodule: &ParseSubmodule
) -> CompileResult<Self>
Trait Implementations§
source§impl Clone for TySubmodule
impl Clone for TySubmodule
source§fn clone(&self) -> TySubmodule
fn clone(&self) -> TySubmodule
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