Struct moore_vhdl::hir::IntfSignal
source · [−]pub struct IntfSignal {
pub name: Spanned<Name>,
pub mode: IntfSignalMode,
pub ty: SubtypeIndRef,
pub bus: bool,
pub init: Option<ExprRef>,
}
Fields
name: Spanned<Name>
The name of this signal.
mode: IntfSignalMode
The mode of this signal.
ty: SubtypeIndRef
The type of this signal.
bus: bool
Whether this signal was declared with the bus
keyword.
init: Option<ExprRef>
The expression determining the initial value of this signals.
Trait Implementations
sourceimpl<'a> Alloc<'a, 'a, IntfSignal> for Arenas
impl<'a> Alloc<'a, 'a, IntfSignal> for Arenas
sourcefn alloc(&'a self, value: IntfSignal) -> &'a mut IntfSignal
fn alloc(&'a self, value: IntfSignal) -> &'a mut IntfSignal
Allocate a value of type T
.
sourceimpl Debug for IntfSignal
impl Debug for IntfSignal
sourceimpl<'lazy, 'sb, 'ast, 'ctx> NodeMaker<IntfSignalRef, &'ctx IntfSignal> for ScoreContext<'lazy, 'sb, 'ast, 'ctx>
impl<'lazy, 'sb, 'ast, 'ctx> NodeMaker<IntfSignalRef, &'ctx IntfSignal> for ScoreContext<'lazy, 'sb, 'ast, 'ctx>
sourcefn make(&self, id: IntfSignalRef) -> Result<&'ctx IntfSignal>
fn make(&self, id: IntfSignalRef) -> Result<&'ctx IntfSignal>
Creates the node with the given ID. Read more
Auto Trait Implementations
impl RefUnwindSafe for IntfSignal
impl Send for IntfSignal
impl Sync for IntfSignal
impl Unpin for IntfSignal
impl UnwindSafe for IntfSignal
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