[−][src]Enum moore_vhdl::hir::AggregateKind
An aggregate kind.
This determines whether the named elements make the aggregate a record or an array aggregate.
Variants
The aggregate has no named elements and can be both.
A record aggregate.
An array aggregate.
Methods
impl AggregateKind
[src]
pub fn get(&self, index: usize) -> Spanned<ExprRef>
[src]
Get a reference to a named field.
Panics if called on Both
.
Trait Implementations
Auto Trait Implementations
impl Send for AggregateKind
impl Sync for AggregateKind
impl Unpin for AggregateKind
impl UnwindSafe for AggregateKind
impl RefUnwindSafe for AggregateKind
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,