Enum moore_vhdl::hir::ArrayTypeIndex
source · [−]pub enum ArrayTypeIndex {
Unbounded(Spanned<TypeMarkRef>),
Subtype(SubtypeIndRef),
Range(Dir, ExprRef, ExprRef),
}
Expand description
An index of an array type.
Variants
Unbounded(Spanned<TypeMarkRef>)
An unbounded array index of the form ... range <>
.
Subtype(SubtypeIndRef)
A constrained array index of the form of a subtype indication.
Range(Dir, ExprRef, ExprRef)
A constrained array index of the form ... to/downto ...
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ArrayTypeIndex
impl Send for ArrayTypeIndex
impl Sync for ArrayTypeIndex
impl Unpin for ArrayTypeIndex
impl UnwindSafe for ArrayTypeIndex
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