Struct sway_core::language::ty::TySubmodule
source · Fields
library_name: Ident
module: TyModule
Implementations
sourceimpl TySubmodule
impl TySubmodule
pub fn type_check(
parent_ctx: TypeCheckContext<'_>,
dep_name: DepName,
submodule: &ParseSubmodule
) -> CompileResult<Self>
Trait Implementations
sourceimpl Clone for TySubmodule
impl Clone for TySubmodule
sourcefn clone(&self) -> TySubmodule
fn clone(&self) -> TySubmodule
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl RefUnwindSafe for TySubmodule
impl Send for TySubmodule
impl Sync for TySubmodule
impl Unpin for TySubmodule
impl UnwindSafe for TySubmodule
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