pub struct DimArraySpan {
pub name: String,
pub name_pos: LineCol,
pub shared: bool,
pub dimensions: Vec<Expr>,
pub subtype: ExprType,
pub subtype_pos: LineCol,
}
Expand description
Components of an array definition.
Fields§
§name: String
Name of the array to define. Type annotations are not allowed, hence why this is not a
VarRef
.
name_pos: LineCol
Position of the name.
Whether the array is global or not.
dimensions: Vec<Expr>
Expressions to compute the dimensions of the array.
subtype: ExprType
Type of the array to be defined.
subtype_pos: LineCol
Position of the subtype.
Trait Implementations§
Source§impl Debug for DimArraySpan
impl Debug for DimArraySpan
Source§impl PartialEq for DimArraySpan
impl PartialEq for DimArraySpan
impl StructuralPartialEq for DimArraySpan
Auto Trait Implementations§
impl Freeze for DimArraySpan
impl RefUnwindSafe for DimArraySpan
impl Send for DimArraySpan
impl Sync for DimArraySpan
impl Unpin for DimArraySpan
impl UnwindSafe for DimArraySpan
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more