Struct moore_svlog_syntax::ast::Arena
source · [−]pub struct Arena<'a> { /* private fields */ }
Expand description
An arena.
Trait Implementations
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, CallArgData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, CallArgData<'a>>> for Arena<'a> where
'a: 'arena,
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ClassDeclData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ClassDeclData<'a>>> for Arena<'a> where
'a: 'arena,
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ContAssignData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ContAssignData<'a>>> for Arena<'a> where
'a: 'arena,
sourcefn alloc(&'arena self, value: ContAssign<'a>) -> &'arena mut ContAssign<'a>
fn alloc(&'arena self, value: ContAssign<'a>) -> &'arena mut ContAssign<'a>
Allocate a value of type T
.
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, DataTypeData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, DataTypeData<'a>>> for Arena<'a> where
'a: 'arena,
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, DpiDeclData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, DpiDeclData<'a>>> for Arena<'a> where
'a: 'arena,
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, EnumData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, EnumData<'a>>> for Arena<'a> where
'a: 'arena,
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, EnumNameData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, EnumNameData<'a>>> for Arena<'a> where
'a: 'arena,
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ExprData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ExprData<'a>>> for Arena<'a> where
'a: 'arena,
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ForeachIndexData>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ForeachIndexData>> for Arena<'a> where
'a: 'arena,
sourcefn alloc(&'arena self, value: ForeachIndex<'a>) -> &'arena mut ForeachIndex<'a>
fn alloc(&'arena self, value: ForeachIndex<'a>) -> &'arena mut ForeachIndex<'a>
Allocate a value of type T
.
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, GenerateBlockData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, GenerateBlockData<'a>>> for Arena<'a> where
'a: 'arena,
sourcefn alloc(
&'arena self,
value: GenerateBlock<'a>
) -> &'arena mut GenerateBlock<'a>
fn alloc(
&'arena self,
value: GenerateBlock<'a>
) -> &'arena mut GenerateBlock<'a>
Allocate a value of type T
.
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, GenerateCaseData>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, GenerateCaseData>> for Arena<'a> where
'a: 'arena,
sourcefn alloc(&'arena self, value: GenerateCase<'a>) -> &'arena mut GenerateCase<'a>
fn alloc(&'arena self, value: GenerateCase<'a>) -> &'arena mut GenerateCase<'a>
Allocate a value of type T
.
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, GenerateForData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, GenerateForData<'a>>> for Arena<'a> where
'a: 'arena,
sourcefn alloc(&'arena self, value: GenerateFor<'a>) -> &'arena mut GenerateFor<'a>
fn alloc(&'arena self, value: GenerateFor<'a>) -> &'arena mut GenerateFor<'a>
Allocate a value of type T
.
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, GenerateIfData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, GenerateIfData<'a>>> for Arena<'a> where
'a: 'arena,
sourcefn alloc(&'arena self, value: GenerateIf<'a>) -> &'arena mut GenerateIf<'a>
fn alloc(&'arena self, value: GenerateIf<'a>) -> &'arena mut GenerateIf<'a>
Allocate a value of type T
.
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, GenvarDeclData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, GenvarDeclData<'a>>> for Arena<'a> where
'a: 'arena,
sourcefn alloc(&'arena self, value: GenvarDecl<'a>) -> &'arena mut GenvarDecl<'a>
fn alloc(&'arena self, value: GenvarDecl<'a>) -> &'arena mut GenvarDecl<'a>
Allocate a value of type T
.
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ImplicitDataTypeData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ImplicitDataTypeData<'a>>> for Arena<'a> where
'a: 'arena,
sourcefn alloc(
&'arena self,
value: ImplicitDataType<'a>
) -> &'arena mut ImplicitDataType<'a>
fn alloc(
&'arena self,
value: ImplicitDataType<'a>
) -> &'arena mut ImplicitDataType<'a>
Allocate a value of type T
.
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ImportDeclData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ImportDeclData<'a>>> for Arena<'a> where
'a: 'arena,
sourcefn alloc(&'arena self, value: ImportDecl<'a>) -> &'arena mut ImportDecl<'a>
fn alloc(&'arena self, value: ImportDecl<'a>) -> &'arena mut ImportDecl<'a>
Allocate a value of type T
.
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ImportItemData>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ImportItemData>> for Arena<'a> where
'a: 'arena,
sourcefn alloc(&'arena self, value: ImportItem<'a>) -> &'arena mut ImportItem<'a>
fn alloc(&'arena self, value: ImportItem<'a>) -> &'arena mut ImportItem<'a>
Allocate a value of type T
.
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, InstData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, InstData<'a>>> for Arena<'a> where
'a: 'arena,
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, InstNameData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, InstNameData<'a>>> for Arena<'a> where
'a: 'arena,
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, InterfaceData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, InterfaceData<'a>>> for Arena<'a> where
'a: 'arena,
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ItemData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ItemData<'a>>> for Arena<'a> where
'a: 'arena,
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ModportData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ModportData<'a>>> for Arena<'a> where
'a: 'arena,
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ModportNameData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ModportNameData<'a>>> for Arena<'a> where
'a: 'arena,
sourcefn alloc(&'arena self, value: ModportName<'a>) -> &'arena mut ModportName<'a>
fn alloc(&'arena self, value: ModportName<'a>) -> &'arena mut ModportName<'a>
Allocate a value of type T
.
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ModportPortData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ModportPortData<'a>>> for Arena<'a> where
'a: 'arena,
sourcefn alloc(&'arena self, value: ModportPort<'a>) -> &'arena mut ModportPort<'a>
fn alloc(&'arena self, value: ModportPort<'a>) -> &'arena mut ModportPort<'a>
Allocate a value of type T
.
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ModportSimplePortData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ModportSimplePortData<'a>>> for Arena<'a> where
'a: 'arena,
sourcefn alloc(
&'arena self,
value: ModportSimplePort<'a>
) -> &'arena mut ModportSimplePort<'a>
fn alloc(
&'arena self,
value: ModportSimplePort<'a>
) -> &'arena mut ModportSimplePort<'a>
Allocate a value of type T
.
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ModuleData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ModuleData<'a>>> for Arena<'a> where
'a: 'arena,
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, NetDeclData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, NetDeclData<'a>>> for Arena<'a> where
'a: 'arena,
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, PackageData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, PackageData<'a>>> for Arena<'a> where
'a: 'arena,
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, PackedDimData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, PackedDimData<'a>>> for Arena<'a> where
'a: 'arena,
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ParamDeclData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ParamDeclData<'a>>> for Arena<'a> where
'a: 'arena,
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ParamTypeDeclData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ParamTypeDeclData<'a>>> for Arena<'a> where
'a: 'arena,
sourcefn alloc(
&'arena self,
value: ParamTypeDecl<'a>
) -> &'arena mut ParamTypeDecl<'a>
fn alloc(
&'arena self,
value: ParamTypeDecl<'a>
) -> &'arena mut ParamTypeDecl<'a>
Allocate a value of type T
.
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ParamValueDeclData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ParamValueDeclData<'a>>> for Arena<'a> where
'a: 'arena,
sourcefn alloc(
&'arena self,
value: ParamValueDecl<'a>
) -> &'arena mut ParamValueDecl<'a>
fn alloc(
&'arena self,
value: ParamValueDecl<'a>
) -> &'arena mut ParamValueDecl<'a>
Allocate a value of type T
.
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, PathSegmentData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, PathSegmentData<'a>>> for Arena<'a> where
'a: 'arena,
sourcefn alloc(&'arena self, value: PathSegment<'a>) -> &'arena mut PathSegment<'a>
fn alloc(&'arena self, value: PathSegment<'a>) -> &'arena mut PathSegment<'a>
Allocate a value of type T
.
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, PatternFieldData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, PatternFieldData<'a>>> for Arena<'a> where
'a: 'arena,
sourcefn alloc(&'arena self, value: PatternField<'a>) -> &'arena mut PatternField<'a>
fn alloc(&'arena self, value: PatternField<'a>) -> &'arena mut PatternField<'a>
Allocate a value of type T
.
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, PortConnData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, PortConnData<'a>>> for Arena<'a> where
'a: 'arena,
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, PortData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, PortData<'a>>> for Arena<'a> where
'a: 'arena,
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, PortDeclData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, PortDeclData<'a>>> for Arena<'a> where
'a: 'arena,
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ProcedureData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ProcedureData<'a>>> for Arena<'a> where
'a: 'arena,
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, RootData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, RootData<'a>>> for Arena<'a> where
'a: 'arena,
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, SourceFileData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, SourceFileData<'a>>> for Arena<'a> where
'a: 'arena,
sourcefn alloc(&'arena self, value: SourceFile<'a>) -> &'arena mut SourceFile<'a>
fn alloc(&'arena self, value: SourceFile<'a>) -> &'arena mut SourceFile<'a>
Allocate a value of type T
.
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, StmtData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, StmtData<'a>>> for Arena<'a> where
'a: 'arena,
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, StructData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, StructData<'a>>> for Arena<'a> where
'a: 'arena,
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, StructMemberData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, StructMemberData<'a>>> for Arena<'a> where
'a: 'arena,
sourcefn alloc(&'arena self, value: StructMember<'a>) -> &'arena mut StructMember<'a>
fn alloc(&'arena self, value: StructMember<'a>) -> &'arena mut StructMember<'a>
Allocate a value of type T
.
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, SubroutineDeclData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, SubroutineDeclData<'a>>> for Arena<'a> where
'a: 'arena,
sourcefn alloc(
&'arena self,
value: SubroutineDecl<'a>
) -> &'arena mut SubroutineDecl<'a>
fn alloc(
&'arena self,
value: SubroutineDecl<'a>
) -> &'arena mut SubroutineDecl<'a>
Allocate a value of type T
.
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, SubroutinePortData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, SubroutinePortData<'a>>> for Arena<'a> where
'a: 'arena,
sourcefn alloc(
&'arena self,
value: SubroutinePort<'a>
) -> &'arena mut SubroutinePort<'a>
fn alloc(
&'arena self,
value: SubroutinePort<'a>
) -> &'arena mut SubroutinePort<'a>
Allocate a value of type T
.
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, SubroutinePortDeclData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, SubroutinePortDeclData<'a>>> for Arena<'a> where
'a: 'arena,
sourcefn alloc(
&'arena self,
value: SubroutinePortDecl<'a>
) -> &'arena mut SubroutinePortDecl<'a>
fn alloc(
&'arena self,
value: SubroutinePortDecl<'a>
) -> &'arena mut SubroutinePortDecl<'a>
Allocate a value of type T
.
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, SubroutinePrototypeData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, SubroutinePrototypeData<'a>>> for Arena<'a> where
'a: 'arena,
sourcefn alloc(
&'arena self,
value: SubroutinePrototype<'a>
) -> &'arena mut SubroutinePrototype<'a>
fn alloc(
&'arena self,
value: SubroutinePrototype<'a>
) -> &'arena mut SubroutinePrototype<'a>
Allocate a value of type T
.
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, TypeData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, TypeData<'a>>> for Arena<'a> where
'a: 'arena,
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, TypeKindData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, TypeKindData<'a>>> for Arena<'a> where
'a: 'arena,
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, TypedefData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, TypedefData<'a>>> for Arena<'a> where
'a: 'arena,
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, UnpackedDimData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, UnpackedDimData<'a>>> for Arena<'a> where
'a: 'arena,
sourcefn alloc(&'arena self, value: UnpackedDim<'a>) -> &'arena mut UnpackedDim<'a>
fn alloc(&'arena self, value: UnpackedDim<'a>) -> &'arena mut UnpackedDim<'a>
Allocate a value of type T
.
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, VarDeclData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, VarDeclData<'a>>> for Arena<'a> where
'a: 'arena,
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, VarDeclNameData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, VarDeclNameData<'a>>> for Arena<'a> where
'a: 'arena,
sourcefn alloc(&'arena self, value: VarDeclName<'a>) -> &'arena mut VarDeclName<'a>
fn alloc(&'arena self, value: VarDeclName<'a>) -> &'arena mut VarDeclName<'a>
Allocate a value of type T
.
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, VarDimData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, VarDimData<'a>>> for Arena<'a> where
'a: 'arena,
sourceimpl<'arena, 'a> Alloc<'arena, 'arena, TypeOrExpr<'a>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, TypeOrExpr<'a>> for Arena<'a> where
'a: 'arena,
sourcefn alloc(&'arena self, value: TypeOrExpr<'a>) -> &'arena mut TypeOrExpr<'a>
fn alloc(&'arena self, value: TypeOrExpr<'a>) -> &'arena mut TypeOrExpr<'a>
Allocate a value of type T
.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Arena<'a>
impl<'a> Send for Arena<'a>
impl<'a> !Sync for Arena<'a>
impl<'a> Unpin for Arena<'a>
impl<'a> !UnwindSafe for Arena<'a>
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