Struct moore_vhdl::hir::Package2
source · [−]pub struct Package2<'t> { /* private fields */ }
Implementations
Trait Implementations
sourceimpl<'t> Decl2<'t> for Package2<'t>
impl<'t> Decl2<'t> for Package2<'t>
sourcefn name(&self) -> Spanned<ResolvableName>
fn name(&self) -> Spanned<ResolvableName>
The name of the declared item.
sourceimpl<'t> FromAst<'t> for Package2<'t>
impl<'t> FromAst<'t> for Package2<'t>
type AllocInput = &'t PkgDecl
type LatentInput = Self::AllocInput
type Context = AllocContext<'t>
type Latent = &'t Slot<'t, Self>
sourcefn alloc_slot(
ast: Self::AllocInput,
context: Self::Context
) -> Result<Self::Latent>
fn alloc_slot(
ast: Self::AllocInput,
context: Self::Context
) -> Result<Self::Latent>
Schedule construction of an HIR node from an AST node. Read more
sourcefn from_ast(ast: Self::LatentInput, context: Self::Context) -> Result<Self>
fn from_ast(ast: Self::LatentInput, context: Self::Context) -> Result<Self>
Construct an HIR node from an AST node.
Auto Trait Implementations
impl<'t> !RefUnwindSafe for Package2<'t>
impl<'t> !Send for Package2<'t>
impl<'t> !Sync for Package2<'t>
impl<'t> Unpin for Package2<'t>
impl<'t> !UnwindSafe for Package2<'t>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more