Struct moore_vhdl::hir::Decl
source · [−]Expand description
An object declaration.
See IEEE 1076-2008 section 6.4.2.1.
Fields
parent: ScopeRef
The scope within which the declaration is made.
span: Span
The span this declaration covers.
name: Spanned<Name>
The name of the declared object.
decl: T
The actual declaration.
Trait Implementations
sourceimpl<'a> Alloc<'a, 'a, Decl<SignalDecl>> for Arenas
impl<'a> Alloc<'a, 'a, Decl<SignalDecl>> for Arenas
sourcefn alloc(&'a self, value: Decl<SignalDecl>) -> &'a mut Decl<SignalDecl>
fn alloc(&'a self, value: Decl<SignalDecl>) -> &'a mut Decl<SignalDecl>
Allocate a value of type T
.
Auto Trait Implementations
impl<T> RefUnwindSafe for Decl<T> where
T: RefUnwindSafe,
impl<T> Send for Decl<T> where
T: Send,
impl<T> Sync for Decl<T> where
T: Sync,
impl<T> Unpin for Decl<T> where
T: Unpin,
impl<T> UnwindSafe for Decl<T> where
T: UnwindSafe,
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