Struct moore_vhdl::hir::SigAssignStmt
source · [−]pub struct SigAssignStmt {
pub parent: ScopeRef,
pub span: Span,
pub label: Option<Spanned<Name>>,
pub target: SigAssignTarget,
pub target_span: Span,
pub kind: SigAssignKind,
pub kind_span: Span,
}
Expand description
A sequential signal assignment.
See IEEE 1076-2008 section 10.5.
Fields
parent: ScopeRef
The scope within which the statement has been made.
span: Span
The location of the entire statement in the source file.
label: Option<Spanned<Name>>
The optional statement label.
target: SigAssignTarget
The target of the assignment.
target_span: Span
The location of the right hand side in the source file.
kind: SigAssignKind
The kind of the assignment.
kind_span: Span
The location of the right hand side in the source file.
Trait Implementations
sourceimpl<'a> Alloc<'a, 'a, SigAssignStmt> for Arenas
impl<'a> Alloc<'a, 'a, SigAssignStmt> for Arenas
sourcefn alloc(&'a self, value: SigAssignStmt) -> &'a mut SigAssignStmt
fn alloc(&'a self, value: SigAssignStmt) -> &'a mut SigAssignStmt
Allocate a value of type T
.
sourceimpl Debug for SigAssignStmt
impl Debug for SigAssignStmt
sourceimpl<'lazy, 'sb, 'ast, 'ctx> NodeMaker<SigAssignStmtRef, &'ctx SigAssignStmt> for ScoreContext<'lazy, 'sb, 'ast, 'ctx>
impl<'lazy, 'sb, 'ast, 'ctx> NodeMaker<SigAssignStmtRef, &'ctx SigAssignStmt> for ScoreContext<'lazy, 'sb, 'ast, 'ctx>
sourcefn make(&self, id: SigAssignStmtRef) -> Result<&'ctx SigAssignStmt>
fn make(&self, id: SigAssignStmtRef) -> Result<&'ctx SigAssignStmt>
Creates the node with the given ID. Read more
Auto Trait Implementations
impl RefUnwindSafe for SigAssignStmt
impl Send for SigAssignStmt
impl Sync for SigAssignStmt
impl Unpin for SigAssignStmt
impl UnwindSafe for SigAssignStmt
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