Struct moore_vhdl::hir::Aggregate
source · [−]pub struct Aggregate {
pub parent: ScopeRef,
pub span: Span,
pub positional: Vec<Spanned<ExprRef>>,
pub named: AggregateKind,
pub others: Option<Spanned<ExprRef>>,
}
Expand description
An aggregate.
See IEEE 1076-2008 section 9.3.3.1.
Fields
parent: ScopeRef
The parent scope.
span: Span
The span the aggregate covers in the source file.
positional: Vec<Spanned<ExprRef>>
The positional fields of the aggregate.
named: AggregateKind
The named fields of the aggregate.
others: Option<Spanned<ExprRef>>
The others
field of the aggregate.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Aggregate
impl Send for Aggregate
impl Sync for Aggregate
impl Unpin for Aggregate
impl UnwindSafe for Aggregate
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