Enum moore_svlog_syntax::ast::AllNode
source · [−]pub enum AllNode<'a> {
Show 54 variants
Root(&'a Root<'a>),
SourceFile(&'a SourceFile<'a>),
Item(&'a Item<'a>),
Module(&'a Module<'a>),
Interface(&'a Interface<'a>),
Package(&'a Package<'a>),
Type(&'a Type<'a>),
TypeKind(&'a TypeKind<'a>),
Enum(&'a Enum<'a>),
EnumName(&'a EnumName<'a>),
Struct(&'a Struct<'a>),
StructMember(&'a StructMember<'a>),
Port(&'a Port<'a>),
PortDecl(&'a PortDecl<'a>),
Procedure(&'a Procedure<'a>),
Stmt(&'a Stmt<'a>),
VarDecl(&'a VarDecl<'a>),
VarDeclName(&'a VarDeclName<'a>),
GenvarDecl(&'a GenvarDecl<'a>),
ForeachIndex(&'a ForeachIndex<'a>),
Expr(&'a Expr<'a>),
CallArg(&'a CallArg<'a>),
ClassDecl(&'a ClassDecl<'a>),
Typedef(&'a Typedef<'a>),
SubroutineDecl(&'a SubroutineDecl<'a>),
SubroutinePrototype(&'a SubroutinePrototype<'a>),
SubroutinePort(&'a SubroutinePort<'a>),
SubroutinePortDecl(&'a SubroutinePortDecl<'a>),
NetDecl(&'a NetDecl<'a>),
PatternField(&'a PatternField<'a>),
ImportDecl(&'a ImportDecl<'a>),
ImportItem(&'a ImportItem<'a>),
Inst(&'a Inst<'a>),
InstName(&'a InstName<'a>),
Modport(&'a Modport<'a>),
ModportName(&'a ModportName<'a>),
ModportPort(&'a ModportPort<'a>),
ModportSimplePort(&'a ModportSimplePort<'a>),
ParamDecl(&'a ParamDecl<'a>),
ParamTypeDecl(&'a ParamTypeDecl<'a>),
ParamValueDecl(&'a ParamValueDecl<'a>),
ContAssign(&'a ContAssign<'a>),
GenerateFor(&'a GenerateFor<'a>),
GenerateIf(&'a GenerateIf<'a>),
GenerateCase(&'a GenerateCase<'a>),
GenerateBlock(&'a GenerateBlock<'a>),
PortConn(&'a PortConn<'a>),
DpiDecl(&'a DpiDecl<'a>),
DataType(&'a DataType<'a>),
ImplicitDataType(&'a ImplicitDataType<'a>),
VarDim(&'a VarDim<'a>),
PackedDim(&'a PackedDim<'a>),
UnpackedDim(&'a UnpackedDim<'a>),
PathSegment(&'a PathSegment<'a>),
}
Expand description
An exhaustive list of all nodes.
Variants
Root(&'a Root<'a>)
SourceFile(&'a SourceFile<'a>)
Item(&'a Item<'a>)
Module(&'a Module<'a>)
Interface(&'a Interface<'a>)
Package(&'a Package<'a>)
Type(&'a Type<'a>)
TypeKind(&'a TypeKind<'a>)
Enum(&'a Enum<'a>)
EnumName(&'a EnumName<'a>)
Struct(&'a Struct<'a>)
StructMember(&'a StructMember<'a>)
Port(&'a Port<'a>)
PortDecl(&'a PortDecl<'a>)
Procedure(&'a Procedure<'a>)
Stmt(&'a Stmt<'a>)
VarDecl(&'a VarDecl<'a>)
VarDeclName(&'a VarDeclName<'a>)
GenvarDecl(&'a GenvarDecl<'a>)
ForeachIndex(&'a ForeachIndex<'a>)
Expr(&'a Expr<'a>)
CallArg(&'a CallArg<'a>)
ClassDecl(&'a ClassDecl<'a>)
Typedef(&'a Typedef<'a>)
SubroutineDecl(&'a SubroutineDecl<'a>)
SubroutinePrototype(&'a SubroutinePrototype<'a>)
SubroutinePort(&'a SubroutinePort<'a>)
SubroutinePortDecl(&'a SubroutinePortDecl<'a>)
NetDecl(&'a NetDecl<'a>)
PatternField(&'a PatternField<'a>)
ImportDecl(&'a ImportDecl<'a>)
ImportItem(&'a ImportItem<'a>)
Inst(&'a Inst<'a>)
InstName(&'a InstName<'a>)
Modport(&'a Modport<'a>)
ModportName(&'a ModportName<'a>)
ModportPort(&'a ModportPort<'a>)
ModportSimplePort(&'a ModportSimplePort<'a>)
ParamDecl(&'a ParamDecl<'a>)
ParamTypeDecl(&'a ParamTypeDecl<'a>)
ParamValueDecl(&'a ParamValueDecl<'a>)
ContAssign(&'a ContAssign<'a>)
GenerateFor(&'a GenerateFor<'a>)
GenerateIf(&'a GenerateIf<'a>)
GenerateCase(&'a GenerateCase<'a>)
GenerateBlock(&'a GenerateBlock<'a>)
PortConn(&'a PortConn<'a>)
DpiDecl(&'a DpiDecl<'a>)
DataType(&'a DataType<'a>)
ImplicitDataType(&'a ImplicitDataType<'a>)
VarDim(&'a VarDim<'a>)
PackedDim(&'a PackedDim<'a>)
UnpackedDim(&'a UnpackedDim<'a>)
PathSegment(&'a PathSegment<'a>)
Implementations
sourceimpl<'a> AllNode<'a>
impl<'a> AllNode<'a>
sourcepub fn get_root(self) -> Option<&'a Root<'a>>
pub fn get_root(self) -> Option<&'a Root<'a>>
Get the underlying Root
, or None
if the node is not a Root
.
sourcepub fn get_source_file(self) -> Option<&'a SourceFile<'a>>
pub fn get_source_file(self) -> Option<&'a SourceFile<'a>>
Get the underlying SourceFile
, or None
if the node is not a SourceFile
.
sourcepub fn get_item(self) -> Option<&'a Item<'a>>
pub fn get_item(self) -> Option<&'a Item<'a>>
Get the underlying Item
, or None
if the node is not a Item
.
sourcepub fn get_module(self) -> Option<&'a Module<'a>>
pub fn get_module(self) -> Option<&'a Module<'a>>
Get the underlying Module
, or None
if the node is not a Module
.
sourcepub fn get_interface(self) -> Option<&'a Interface<'a>>
pub fn get_interface(self) -> Option<&'a Interface<'a>>
Get the underlying Interface
, or None
if the node is not a Interface
.
sourcepub fn get_package(self) -> Option<&'a Package<'a>>
pub fn get_package(self) -> Option<&'a Package<'a>>
Get the underlying Package
, or None
if the node is not a Package
.
sourcepub fn get_type(self) -> Option<&'a Type<'a>>
pub fn get_type(self) -> Option<&'a Type<'a>>
Get the underlying Type
, or None
if the node is not a Type
.
sourcepub fn get_type_kind(self) -> Option<&'a TypeKind<'a>>
pub fn get_type_kind(self) -> Option<&'a TypeKind<'a>>
Get the underlying TypeKind
, or None
if the node is not a TypeKind
.
sourcepub fn get_enum(self) -> Option<&'a Enum<'a>>
pub fn get_enum(self) -> Option<&'a Enum<'a>>
Get the underlying Enum
, or None
if the node is not a Enum
.
sourcepub fn get_enum_name(self) -> Option<&'a EnumName<'a>>
pub fn get_enum_name(self) -> Option<&'a EnumName<'a>>
Get the underlying EnumName
, or None
if the node is not a EnumName
.
sourcepub fn get_struct(self) -> Option<&'a Struct<'a>>
pub fn get_struct(self) -> Option<&'a Struct<'a>>
Get the underlying Struct
, or None
if the node is not a Struct
.
sourcepub fn get_struct_member(self) -> Option<&'a StructMember<'a>>
pub fn get_struct_member(self) -> Option<&'a StructMember<'a>>
Get the underlying StructMember
, or None
if the node is not a StructMember
.
sourcepub fn get_port(self) -> Option<&'a Port<'a>>
pub fn get_port(self) -> Option<&'a Port<'a>>
Get the underlying Port
, or None
if the node is not a Port
.
sourcepub fn get_port_decl(self) -> Option<&'a PortDecl<'a>>
pub fn get_port_decl(self) -> Option<&'a PortDecl<'a>>
Get the underlying PortDecl
, or None
if the node is not a PortDecl
.
sourcepub fn get_procedure(self) -> Option<&'a Procedure<'a>>
pub fn get_procedure(self) -> Option<&'a Procedure<'a>>
Get the underlying Procedure
, or None
if the node is not a Procedure
.
sourcepub fn get_stmt(self) -> Option<&'a Stmt<'a>>
pub fn get_stmt(self) -> Option<&'a Stmt<'a>>
Get the underlying Stmt
, or None
if the node is not a Stmt
.
sourcepub fn get_var_decl(self) -> Option<&'a VarDecl<'a>>
pub fn get_var_decl(self) -> Option<&'a VarDecl<'a>>
Get the underlying VarDecl
, or None
if the node is not a VarDecl
.
sourcepub fn get_var_decl_name(self) -> Option<&'a VarDeclName<'a>>
pub fn get_var_decl_name(self) -> Option<&'a VarDeclName<'a>>
Get the underlying VarDeclName
, or None
if the node is not a VarDeclName
.
sourcepub fn get_genvar_decl(self) -> Option<&'a GenvarDecl<'a>>
pub fn get_genvar_decl(self) -> Option<&'a GenvarDecl<'a>>
Get the underlying GenvarDecl
, or None
if the node is not a GenvarDecl
.
sourcepub fn get_foreach_index(self) -> Option<&'a ForeachIndex<'a>>
pub fn get_foreach_index(self) -> Option<&'a ForeachIndex<'a>>
Get the underlying ForeachIndex
, or None
if the node is not a ForeachIndex
.
sourcepub fn get_expr(self) -> Option<&'a Expr<'a>>
pub fn get_expr(self) -> Option<&'a Expr<'a>>
Get the underlying Expr
, or None
if the node is not a Expr
.
sourcepub fn get_call_arg(self) -> Option<&'a CallArg<'a>>
pub fn get_call_arg(self) -> Option<&'a CallArg<'a>>
Get the underlying CallArg
, or None
if the node is not a CallArg
.
sourcepub fn get_class_decl(self) -> Option<&'a ClassDecl<'a>>
pub fn get_class_decl(self) -> Option<&'a ClassDecl<'a>>
Get the underlying ClassDecl
, or None
if the node is not a ClassDecl
.
sourcepub fn get_typedef(self) -> Option<&'a Typedef<'a>>
pub fn get_typedef(self) -> Option<&'a Typedef<'a>>
Get the underlying Typedef
, or None
if the node is not a Typedef
.
sourcepub fn get_subroutine_decl(self) -> Option<&'a SubroutineDecl<'a>>
pub fn get_subroutine_decl(self) -> Option<&'a SubroutineDecl<'a>>
Get the underlying SubroutineDecl
, or None
if the node is not a SubroutineDecl
.
sourcepub fn get_subroutine_prototype(self) -> Option<&'a SubroutinePrototype<'a>>
pub fn get_subroutine_prototype(self) -> Option<&'a SubroutinePrototype<'a>>
Get the underlying SubroutinePrototype
, or None
if the node is not a SubroutinePrototype
.
sourcepub fn get_subroutine_port(self) -> Option<&'a SubroutinePort<'a>>
pub fn get_subroutine_port(self) -> Option<&'a SubroutinePort<'a>>
Get the underlying SubroutinePort
, or None
if the node is not a SubroutinePort
.
sourcepub fn get_subroutine_port_decl(self) -> Option<&'a SubroutinePortDecl<'a>>
pub fn get_subroutine_port_decl(self) -> Option<&'a SubroutinePortDecl<'a>>
Get the underlying SubroutinePortDecl
, or None
if the node is not a SubroutinePortDecl
.
sourcepub fn get_net_decl(self) -> Option<&'a NetDecl<'a>>
pub fn get_net_decl(self) -> Option<&'a NetDecl<'a>>
Get the underlying NetDecl
, or None
if the node is not a NetDecl
.
sourcepub fn get_pattern_field(self) -> Option<&'a PatternField<'a>>
pub fn get_pattern_field(self) -> Option<&'a PatternField<'a>>
Get the underlying PatternField
, or None
if the node is not a PatternField
.
sourcepub fn get_import_decl(self) -> Option<&'a ImportDecl<'a>>
pub fn get_import_decl(self) -> Option<&'a ImportDecl<'a>>
Get the underlying ImportDecl
, or None
if the node is not a ImportDecl
.
sourcepub fn get_import_item(self) -> Option<&'a ImportItem<'a>>
pub fn get_import_item(self) -> Option<&'a ImportItem<'a>>
Get the underlying ImportItem
, or None
if the node is not a ImportItem
.
sourcepub fn get_inst(self) -> Option<&'a Inst<'a>>
pub fn get_inst(self) -> Option<&'a Inst<'a>>
Get the underlying Inst
, or None
if the node is not a Inst
.
sourcepub fn get_inst_name(self) -> Option<&'a InstName<'a>>
pub fn get_inst_name(self) -> Option<&'a InstName<'a>>
Get the underlying InstName
, or None
if the node is not a InstName
.
sourcepub fn get_modport(self) -> Option<&'a Modport<'a>>
pub fn get_modport(self) -> Option<&'a Modport<'a>>
Get the underlying Modport
, or None
if the node is not a Modport
.
sourcepub fn get_modport_name(self) -> Option<&'a ModportName<'a>>
pub fn get_modport_name(self) -> Option<&'a ModportName<'a>>
Get the underlying ModportName
, or None
if the node is not a ModportName
.
sourcepub fn get_modport_port(self) -> Option<&'a ModportPort<'a>>
pub fn get_modport_port(self) -> Option<&'a ModportPort<'a>>
Get the underlying ModportPort
, or None
if the node is not a ModportPort
.
sourcepub fn get_modport_simple_port(self) -> Option<&'a ModportSimplePort<'a>>
pub fn get_modport_simple_port(self) -> Option<&'a ModportSimplePort<'a>>
Get the underlying ModportSimplePort
, or None
if the node is not a ModportSimplePort
.
sourcepub fn get_param_decl(self) -> Option<&'a ParamDecl<'a>>
pub fn get_param_decl(self) -> Option<&'a ParamDecl<'a>>
Get the underlying ParamDecl
, or None
if the node is not a ParamDecl
.
sourcepub fn get_param_type_decl(self) -> Option<&'a ParamTypeDecl<'a>>
pub fn get_param_type_decl(self) -> Option<&'a ParamTypeDecl<'a>>
Get the underlying ParamTypeDecl
, or None
if the node is not a ParamTypeDecl
.
sourcepub fn get_param_value_decl(self) -> Option<&'a ParamValueDecl<'a>>
pub fn get_param_value_decl(self) -> Option<&'a ParamValueDecl<'a>>
Get the underlying ParamValueDecl
, or None
if the node is not a ParamValueDecl
.
sourcepub fn get_cont_assign(self) -> Option<&'a ContAssign<'a>>
pub fn get_cont_assign(self) -> Option<&'a ContAssign<'a>>
Get the underlying ContAssign
, or None
if the node is not a ContAssign
.
sourcepub fn get_generate_for(self) -> Option<&'a GenerateFor<'a>>
pub fn get_generate_for(self) -> Option<&'a GenerateFor<'a>>
Get the underlying GenerateFor
, or None
if the node is not a GenerateFor
.
sourcepub fn get_generate_if(self) -> Option<&'a GenerateIf<'a>>
pub fn get_generate_if(self) -> Option<&'a GenerateIf<'a>>
Get the underlying GenerateIf
, or None
if the node is not a GenerateIf
.
sourcepub fn get_generate_case(self) -> Option<&'a GenerateCase<'a>>
pub fn get_generate_case(self) -> Option<&'a GenerateCase<'a>>
Get the underlying GenerateCase
, or None
if the node is not a GenerateCase
.
sourcepub fn get_generate_block(self) -> Option<&'a GenerateBlock<'a>>
pub fn get_generate_block(self) -> Option<&'a GenerateBlock<'a>>
Get the underlying GenerateBlock
, or None
if the node is not a GenerateBlock
.
sourcepub fn get_port_conn(self) -> Option<&'a PortConn<'a>>
pub fn get_port_conn(self) -> Option<&'a PortConn<'a>>
Get the underlying PortConn
, or None
if the node is not a PortConn
.
sourcepub fn get_dpi_decl(self) -> Option<&'a DpiDecl<'a>>
pub fn get_dpi_decl(self) -> Option<&'a DpiDecl<'a>>
Get the underlying DpiDecl
, or None
if the node is not a DpiDecl
.
sourcepub fn get_data_type(self) -> Option<&'a DataType<'a>>
pub fn get_data_type(self) -> Option<&'a DataType<'a>>
Get the underlying DataType
, or None
if the node is not a DataType
.
sourcepub fn get_implicit_data_type(self) -> Option<&'a ImplicitDataType<'a>>
pub fn get_implicit_data_type(self) -> Option<&'a ImplicitDataType<'a>>
Get the underlying ImplicitDataType
, or None
if the node is not a ImplicitDataType
.
sourcepub fn get_var_dim(self) -> Option<&'a VarDim<'a>>
pub fn get_var_dim(self) -> Option<&'a VarDim<'a>>
Get the underlying VarDim
, or None
if the node is not a VarDim
.
sourcepub fn get_packed_dim(self) -> Option<&'a PackedDim<'a>>
pub fn get_packed_dim(self) -> Option<&'a PackedDim<'a>>
Get the underlying PackedDim
, or None
if the node is not a PackedDim
.
sourcepub fn get_unpacked_dim(self) -> Option<&'a UnpackedDim<'a>>
pub fn get_unpacked_dim(self) -> Option<&'a UnpackedDim<'a>>
Get the underlying UnpackedDim
, or None
if the node is not a UnpackedDim
.
sourcepub fn get_path_segment(self) -> Option<&'a PathSegment<'a>>
pub fn get_path_segment(self) -> Option<&'a PathSegment<'a>>
Get the underlying PathSegment
, or None
if the node is not a PathSegment
.
sourcepub fn is_source_file(self) -> bool
pub fn is_source_file(self) -> bool
Check whether this is a SourceFile
node.
sourcepub fn is_interface(self) -> bool
pub fn is_interface(self) -> bool
Check whether this is a Interface
node.
sourcepub fn is_package(self) -> bool
pub fn is_package(self) -> bool
Check whether this is a Package
node.
sourcepub fn is_type_kind(self) -> bool
pub fn is_type_kind(self) -> bool
Check whether this is a TypeKind
node.
sourcepub fn is_enum_name(self) -> bool
pub fn is_enum_name(self) -> bool
Check whether this is a EnumName
node.
sourcepub fn is_struct_member(self) -> bool
pub fn is_struct_member(self) -> bool
Check whether this is a StructMember
node.
sourcepub fn is_port_decl(self) -> bool
pub fn is_port_decl(self) -> bool
Check whether this is a PortDecl
node.
sourcepub fn is_procedure(self) -> bool
pub fn is_procedure(self) -> bool
Check whether this is a Procedure
node.
sourcepub fn is_var_decl(self) -> bool
pub fn is_var_decl(self) -> bool
Check whether this is a VarDecl
node.
sourcepub fn is_var_decl_name(self) -> bool
pub fn is_var_decl_name(self) -> bool
Check whether this is a VarDeclName
node.
sourcepub fn is_genvar_decl(self) -> bool
pub fn is_genvar_decl(self) -> bool
Check whether this is a GenvarDecl
node.
sourcepub fn is_foreach_index(self) -> bool
pub fn is_foreach_index(self) -> bool
Check whether this is a ForeachIndex
node.
sourcepub fn is_call_arg(self) -> bool
pub fn is_call_arg(self) -> bool
Check whether this is a CallArg
node.
sourcepub fn is_class_decl(self) -> bool
pub fn is_class_decl(self) -> bool
Check whether this is a ClassDecl
node.
sourcepub fn is_typedef(self) -> bool
pub fn is_typedef(self) -> bool
Check whether this is a Typedef
node.
sourcepub fn is_subroutine_decl(self) -> bool
pub fn is_subroutine_decl(self) -> bool
Check whether this is a SubroutineDecl
node.
sourcepub fn is_subroutine_prototype(self) -> bool
pub fn is_subroutine_prototype(self) -> bool
Check whether this is a SubroutinePrototype
node.
sourcepub fn is_subroutine_port(self) -> bool
pub fn is_subroutine_port(self) -> bool
Check whether this is a SubroutinePort
node.
sourcepub fn is_subroutine_port_decl(self) -> bool
pub fn is_subroutine_port_decl(self) -> bool
Check whether this is a SubroutinePortDecl
node.
sourcepub fn is_net_decl(self) -> bool
pub fn is_net_decl(self) -> bool
Check whether this is a NetDecl
node.
sourcepub fn is_pattern_field(self) -> bool
pub fn is_pattern_field(self) -> bool
Check whether this is a PatternField
node.
sourcepub fn is_import_decl(self) -> bool
pub fn is_import_decl(self) -> bool
Check whether this is a ImportDecl
node.
sourcepub fn is_import_item(self) -> bool
pub fn is_import_item(self) -> bool
Check whether this is a ImportItem
node.
sourcepub fn is_inst_name(self) -> bool
pub fn is_inst_name(self) -> bool
Check whether this is a InstName
node.
sourcepub fn is_modport(self) -> bool
pub fn is_modport(self) -> bool
Check whether this is a Modport
node.
sourcepub fn is_modport_name(self) -> bool
pub fn is_modport_name(self) -> bool
Check whether this is a ModportName
node.
sourcepub fn is_modport_port(self) -> bool
pub fn is_modport_port(self) -> bool
Check whether this is a ModportPort
node.
sourcepub fn is_modport_simple_port(self) -> bool
pub fn is_modport_simple_port(self) -> bool
Check whether this is a ModportSimplePort
node.
sourcepub fn is_param_decl(self) -> bool
pub fn is_param_decl(self) -> bool
Check whether this is a ParamDecl
node.
sourcepub fn is_param_type_decl(self) -> bool
pub fn is_param_type_decl(self) -> bool
Check whether this is a ParamTypeDecl
node.
sourcepub fn is_param_value_decl(self) -> bool
pub fn is_param_value_decl(self) -> bool
Check whether this is a ParamValueDecl
node.
sourcepub fn is_cont_assign(self) -> bool
pub fn is_cont_assign(self) -> bool
Check whether this is a ContAssign
node.
sourcepub fn is_generate_for(self) -> bool
pub fn is_generate_for(self) -> bool
Check whether this is a GenerateFor
node.
sourcepub fn is_generate_if(self) -> bool
pub fn is_generate_if(self) -> bool
Check whether this is a GenerateIf
node.
sourcepub fn is_generate_case(self) -> bool
pub fn is_generate_case(self) -> bool
Check whether this is a GenerateCase
node.
sourcepub fn is_generate_block(self) -> bool
pub fn is_generate_block(self) -> bool
Check whether this is a GenerateBlock
node.
sourcepub fn is_port_conn(self) -> bool
pub fn is_port_conn(self) -> bool
Check whether this is a PortConn
node.
sourcepub fn is_dpi_decl(self) -> bool
pub fn is_dpi_decl(self) -> bool
Check whether this is a DpiDecl
node.
sourcepub fn is_data_type(self) -> bool
pub fn is_data_type(self) -> bool
Check whether this is a DataType
node.
sourcepub fn is_implicit_data_type(self) -> bool
pub fn is_implicit_data_type(self) -> bool
Check whether this is a ImplicitDataType
node.
sourcepub fn is_var_dim(self) -> bool
pub fn is_var_dim(self) -> bool
Check whether this is a VarDim
node.
sourcepub fn is_packed_dim(self) -> bool
pub fn is_packed_dim(self) -> bool
Check whether this is a PackedDim
node.
sourcepub fn is_unpacked_dim(self) -> bool
pub fn is_unpacked_dim(self) -> bool
Check whether this is a UnpackedDim
node.
sourcepub fn is_path_segment(self) -> bool
pub fn is_path_segment(self) -> bool
Check whether this is a PathSegment
node.
sourcepub fn unwrap_root(self) -> &'a Root<'a>
pub fn unwrap_root(self) -> &'a Root<'a>
Get the underlying Root
, or panic if the node is not a Root
.
sourcepub fn unwrap_source_file(self) -> &'a SourceFile<'a>
pub fn unwrap_source_file(self) -> &'a SourceFile<'a>
Get the underlying SourceFile
, or panic if the node is not a SourceFile
.
sourcepub fn unwrap_item(self) -> &'a Item<'a>
pub fn unwrap_item(self) -> &'a Item<'a>
Get the underlying Item
, or panic if the node is not a Item
.
sourcepub fn unwrap_module(self) -> &'a Module<'a>
pub fn unwrap_module(self) -> &'a Module<'a>
Get the underlying Module
, or panic if the node is not a Module
.
sourcepub fn unwrap_interface(self) -> &'a Interface<'a>
pub fn unwrap_interface(self) -> &'a Interface<'a>
Get the underlying Interface
, or panic if the node is not a Interface
.
sourcepub fn unwrap_package(self) -> &'a Package<'a>
pub fn unwrap_package(self) -> &'a Package<'a>
Get the underlying Package
, or panic if the node is not a Package
.
sourcepub fn unwrap_type(self) -> &'a Type<'a>
pub fn unwrap_type(self) -> &'a Type<'a>
Get the underlying Type
, or panic if the node is not a Type
.
sourcepub fn unwrap_type_kind(self) -> &'a TypeKind<'a>
pub fn unwrap_type_kind(self) -> &'a TypeKind<'a>
Get the underlying TypeKind
, or panic if the node is not a TypeKind
.
sourcepub fn unwrap_enum(self) -> &'a Enum<'a>
pub fn unwrap_enum(self) -> &'a Enum<'a>
Get the underlying Enum
, or panic if the node is not a Enum
.
sourcepub fn unwrap_enum_name(self) -> &'a EnumName<'a>
pub fn unwrap_enum_name(self) -> &'a EnumName<'a>
Get the underlying EnumName
, or panic if the node is not a EnumName
.
sourcepub fn unwrap_struct(self) -> &'a Struct<'a>
pub fn unwrap_struct(self) -> &'a Struct<'a>
Get the underlying Struct
, or panic if the node is not a Struct
.
sourcepub fn unwrap_struct_member(self) -> &'a StructMember<'a>
pub fn unwrap_struct_member(self) -> &'a StructMember<'a>
Get the underlying StructMember
, or panic if the node is not a StructMember
.
sourcepub fn unwrap_port(self) -> &'a Port<'a>
pub fn unwrap_port(self) -> &'a Port<'a>
Get the underlying Port
, or panic if the node is not a Port
.
sourcepub fn unwrap_port_decl(self) -> &'a PortDecl<'a>
pub fn unwrap_port_decl(self) -> &'a PortDecl<'a>
Get the underlying PortDecl
, or panic if the node is not a PortDecl
.
sourcepub fn unwrap_procedure(self) -> &'a Procedure<'a>
pub fn unwrap_procedure(self) -> &'a Procedure<'a>
Get the underlying Procedure
, or panic if the node is not a Procedure
.
sourcepub fn unwrap_stmt(self) -> &'a Stmt<'a>
pub fn unwrap_stmt(self) -> &'a Stmt<'a>
Get the underlying Stmt
, or panic if the node is not a Stmt
.
sourcepub fn unwrap_var_decl(self) -> &'a VarDecl<'a>
pub fn unwrap_var_decl(self) -> &'a VarDecl<'a>
Get the underlying VarDecl
, or panic if the node is not a VarDecl
.
sourcepub fn unwrap_var_decl_name(self) -> &'a VarDeclName<'a>
pub fn unwrap_var_decl_name(self) -> &'a VarDeclName<'a>
Get the underlying VarDeclName
, or panic if the node is not a VarDeclName
.
sourcepub fn unwrap_genvar_decl(self) -> &'a GenvarDecl<'a>
pub fn unwrap_genvar_decl(self) -> &'a GenvarDecl<'a>
Get the underlying GenvarDecl
, or panic if the node is not a GenvarDecl
.
sourcepub fn unwrap_foreach_index(self) -> &'a ForeachIndex<'a>
pub fn unwrap_foreach_index(self) -> &'a ForeachIndex<'a>
Get the underlying ForeachIndex
, or panic if the node is not a ForeachIndex
.
sourcepub fn unwrap_expr(self) -> &'a Expr<'a>
pub fn unwrap_expr(self) -> &'a Expr<'a>
Get the underlying Expr
, or panic if the node is not a Expr
.
sourcepub fn unwrap_call_arg(self) -> &'a CallArg<'a>
pub fn unwrap_call_arg(self) -> &'a CallArg<'a>
Get the underlying CallArg
, or panic if the node is not a CallArg
.
sourcepub fn unwrap_class_decl(self) -> &'a ClassDecl<'a>
pub fn unwrap_class_decl(self) -> &'a ClassDecl<'a>
Get the underlying ClassDecl
, or panic if the node is not a ClassDecl
.
sourcepub fn unwrap_typedef(self) -> &'a Typedef<'a>
pub fn unwrap_typedef(self) -> &'a Typedef<'a>
Get the underlying Typedef
, or panic if the node is not a Typedef
.
sourcepub fn unwrap_subroutine_decl(self) -> &'a SubroutineDecl<'a>
pub fn unwrap_subroutine_decl(self) -> &'a SubroutineDecl<'a>
Get the underlying SubroutineDecl
, or panic if the node is not a SubroutineDecl
.
sourcepub fn unwrap_subroutine_prototype(self) -> &'a SubroutinePrototype<'a>
pub fn unwrap_subroutine_prototype(self) -> &'a SubroutinePrototype<'a>
Get the underlying SubroutinePrototype
, or panic if the node is not a SubroutinePrototype
.
sourcepub fn unwrap_subroutine_port(self) -> &'a SubroutinePort<'a>
pub fn unwrap_subroutine_port(self) -> &'a SubroutinePort<'a>
Get the underlying SubroutinePort
, or panic if the node is not a SubroutinePort
.
sourcepub fn unwrap_subroutine_port_decl(self) -> &'a SubroutinePortDecl<'a>
pub fn unwrap_subroutine_port_decl(self) -> &'a SubroutinePortDecl<'a>
Get the underlying SubroutinePortDecl
, or panic if the node is not a SubroutinePortDecl
.
sourcepub fn unwrap_net_decl(self) -> &'a NetDecl<'a>
pub fn unwrap_net_decl(self) -> &'a NetDecl<'a>
Get the underlying NetDecl
, or panic if the node is not a NetDecl
.
sourcepub fn unwrap_pattern_field(self) -> &'a PatternField<'a>
pub fn unwrap_pattern_field(self) -> &'a PatternField<'a>
Get the underlying PatternField
, or panic if the node is not a PatternField
.
sourcepub fn unwrap_import_decl(self) -> &'a ImportDecl<'a>
pub fn unwrap_import_decl(self) -> &'a ImportDecl<'a>
Get the underlying ImportDecl
, or panic if the node is not a ImportDecl
.
sourcepub fn unwrap_import_item(self) -> &'a ImportItem<'a>
pub fn unwrap_import_item(self) -> &'a ImportItem<'a>
Get the underlying ImportItem
, or panic if the node is not a ImportItem
.
sourcepub fn unwrap_inst(self) -> &'a Inst<'a>
pub fn unwrap_inst(self) -> &'a Inst<'a>
Get the underlying Inst
, or panic if the node is not a Inst
.
sourcepub fn unwrap_inst_name(self) -> &'a InstName<'a>
pub fn unwrap_inst_name(self) -> &'a InstName<'a>
Get the underlying InstName
, or panic if the node is not a InstName
.
sourcepub fn unwrap_modport(self) -> &'a Modport<'a>
pub fn unwrap_modport(self) -> &'a Modport<'a>
Get the underlying Modport
, or panic if the node is not a Modport
.
sourcepub fn unwrap_modport_name(self) -> &'a ModportName<'a>
pub fn unwrap_modport_name(self) -> &'a ModportName<'a>
Get the underlying ModportName
, or panic if the node is not a ModportName
.
sourcepub fn unwrap_modport_port(self) -> &'a ModportPort<'a>
pub fn unwrap_modport_port(self) -> &'a ModportPort<'a>
Get the underlying ModportPort
, or panic if the node is not a ModportPort
.
sourcepub fn unwrap_modport_simple_port(self) -> &'a ModportSimplePort<'a>
pub fn unwrap_modport_simple_port(self) -> &'a ModportSimplePort<'a>
Get the underlying ModportSimplePort
, or panic if the node is not a ModportSimplePort
.
sourcepub fn unwrap_param_decl(self) -> &'a ParamDecl<'a>
pub fn unwrap_param_decl(self) -> &'a ParamDecl<'a>
Get the underlying ParamDecl
, or panic if the node is not a ParamDecl
.
sourcepub fn unwrap_param_type_decl(self) -> &'a ParamTypeDecl<'a>
pub fn unwrap_param_type_decl(self) -> &'a ParamTypeDecl<'a>
Get the underlying ParamTypeDecl
, or panic if the node is not a ParamTypeDecl
.
sourcepub fn unwrap_param_value_decl(self) -> &'a ParamValueDecl<'a>
pub fn unwrap_param_value_decl(self) -> &'a ParamValueDecl<'a>
Get the underlying ParamValueDecl
, or panic if the node is not a ParamValueDecl
.
sourcepub fn unwrap_cont_assign(self) -> &'a ContAssign<'a>
pub fn unwrap_cont_assign(self) -> &'a ContAssign<'a>
Get the underlying ContAssign
, or panic if the node is not a ContAssign
.
sourcepub fn unwrap_generate_for(self) -> &'a GenerateFor<'a>
pub fn unwrap_generate_for(self) -> &'a GenerateFor<'a>
Get the underlying GenerateFor
, or panic if the node is not a GenerateFor
.
sourcepub fn unwrap_generate_if(self) -> &'a GenerateIf<'a>
pub fn unwrap_generate_if(self) -> &'a GenerateIf<'a>
Get the underlying GenerateIf
, or panic if the node is not a GenerateIf
.
sourcepub fn unwrap_generate_case(self) -> &'a GenerateCase<'a>
pub fn unwrap_generate_case(self) -> &'a GenerateCase<'a>
Get the underlying GenerateCase
, or panic if the node is not a GenerateCase
.
sourcepub fn unwrap_generate_block(self) -> &'a GenerateBlock<'a>
pub fn unwrap_generate_block(self) -> &'a GenerateBlock<'a>
Get the underlying GenerateBlock
, or panic if the node is not a GenerateBlock
.
sourcepub fn unwrap_port_conn(self) -> &'a PortConn<'a>
pub fn unwrap_port_conn(self) -> &'a PortConn<'a>
Get the underlying PortConn
, or panic if the node is not a PortConn
.
sourcepub fn unwrap_dpi_decl(self) -> &'a DpiDecl<'a>
pub fn unwrap_dpi_decl(self) -> &'a DpiDecl<'a>
Get the underlying DpiDecl
, or panic if the node is not a DpiDecl
.
sourcepub fn unwrap_data_type(self) -> &'a DataType<'a>
pub fn unwrap_data_type(self) -> &'a DataType<'a>
Get the underlying DataType
, or panic if the node is not a DataType
.
sourcepub fn unwrap_implicit_data_type(self) -> &'a ImplicitDataType<'a>
pub fn unwrap_implicit_data_type(self) -> &'a ImplicitDataType<'a>
Get the underlying ImplicitDataType
, or panic if the node is not a ImplicitDataType
.
sourcepub fn unwrap_var_dim(self) -> &'a VarDim<'a>
pub fn unwrap_var_dim(self) -> &'a VarDim<'a>
Get the underlying VarDim
, or panic if the node is not a VarDim
.
sourcepub fn unwrap_packed_dim(self) -> &'a PackedDim<'a>
pub fn unwrap_packed_dim(self) -> &'a PackedDim<'a>
Get the underlying PackedDim
, or panic if the node is not a PackedDim
.
sourcepub fn unwrap_unpacked_dim(self) -> &'a UnpackedDim<'a>
pub fn unwrap_unpacked_dim(self) -> &'a UnpackedDim<'a>
Get the underlying UnpackedDim
, or panic if the node is not a UnpackedDim
.
sourcepub fn unwrap_path_segment(self) -> &'a PathSegment<'a>
pub fn unwrap_path_segment(self) -> &'a PathSegment<'a>
Get the underlying PathSegment
, or panic if the node is not a PathSegment
.
Trait Implementations
sourceimpl<'a> From<&'a Node<'a, CallArgData<'a>>> for AllNode<'a>
impl<'a> From<&'a Node<'a, CallArgData<'a>>> for AllNode<'a>
sourceimpl<'a> From<&'a Node<'a, ClassDeclData<'a>>> for AllNode<'a>
impl<'a> From<&'a Node<'a, ClassDeclData<'a>>> for AllNode<'a>
sourceimpl<'a> From<&'a Node<'a, ContAssignData<'a>>> for AllNode<'a>
impl<'a> From<&'a Node<'a, ContAssignData<'a>>> for AllNode<'a>
sourcefn from(node: &'a ContAssign<'a>) -> Self
fn from(node: &'a ContAssign<'a>) -> Self
Performs the conversion.
sourceimpl<'a> From<&'a Node<'a, DataTypeData<'a>>> for AllNode<'a>
impl<'a> From<&'a Node<'a, DataTypeData<'a>>> for AllNode<'a>
sourceimpl<'a> From<&'a Node<'a, DpiDeclData<'a>>> for AllNode<'a>
impl<'a> From<&'a Node<'a, DpiDeclData<'a>>> for AllNode<'a>
sourceimpl<'a> From<&'a Node<'a, EnumNameData<'a>>> for AllNode<'a>
impl<'a> From<&'a Node<'a, EnumNameData<'a>>> for AllNode<'a>
sourceimpl<'a> From<&'a Node<'a, ForeachIndexData>> for AllNode<'a>
impl<'a> From<&'a Node<'a, ForeachIndexData>> for AllNode<'a>
sourcefn from(node: &'a ForeachIndex<'a>) -> Self
fn from(node: &'a ForeachIndex<'a>) -> Self
Performs the conversion.
sourceimpl<'a> From<&'a Node<'a, GenerateBlockData<'a>>> for AllNode<'a>
impl<'a> From<&'a Node<'a, GenerateBlockData<'a>>> for AllNode<'a>
sourcefn from(node: &'a GenerateBlock<'a>) -> Self
fn from(node: &'a GenerateBlock<'a>) -> Self
Performs the conversion.
sourceimpl<'a> From<&'a Node<'a, GenerateCaseData>> for AllNode<'a>
impl<'a> From<&'a Node<'a, GenerateCaseData>> for AllNode<'a>
sourcefn from(node: &'a GenerateCase<'a>) -> Self
fn from(node: &'a GenerateCase<'a>) -> Self
Performs the conversion.
sourceimpl<'a> From<&'a Node<'a, GenerateForData<'a>>> for AllNode<'a>
impl<'a> From<&'a Node<'a, GenerateForData<'a>>> for AllNode<'a>
sourcefn from(node: &'a GenerateFor<'a>) -> Self
fn from(node: &'a GenerateFor<'a>) -> Self
Performs the conversion.
sourceimpl<'a> From<&'a Node<'a, GenerateIfData<'a>>> for AllNode<'a>
impl<'a> From<&'a Node<'a, GenerateIfData<'a>>> for AllNode<'a>
sourcefn from(node: &'a GenerateIf<'a>) -> Self
fn from(node: &'a GenerateIf<'a>) -> Self
Performs the conversion.
sourceimpl<'a> From<&'a Node<'a, GenvarDeclData<'a>>> for AllNode<'a>
impl<'a> From<&'a Node<'a, GenvarDeclData<'a>>> for AllNode<'a>
sourcefn from(node: &'a GenvarDecl<'a>) -> Self
fn from(node: &'a GenvarDecl<'a>) -> Self
Performs the conversion.
sourceimpl<'a> From<&'a Node<'a, ImplicitDataTypeData<'a>>> for AllNode<'a>
impl<'a> From<&'a Node<'a, ImplicitDataTypeData<'a>>> for AllNode<'a>
sourcefn from(node: &'a ImplicitDataType<'a>) -> Self
fn from(node: &'a ImplicitDataType<'a>) -> Self
Performs the conversion.
sourceimpl<'a> From<&'a Node<'a, ImportDeclData<'a>>> for AllNode<'a>
impl<'a> From<&'a Node<'a, ImportDeclData<'a>>> for AllNode<'a>
sourcefn from(node: &'a ImportDecl<'a>) -> Self
fn from(node: &'a ImportDecl<'a>) -> Self
Performs the conversion.
sourceimpl<'a> From<&'a Node<'a, ImportItemData>> for AllNode<'a>
impl<'a> From<&'a Node<'a, ImportItemData>> for AllNode<'a>
sourcefn from(node: &'a ImportItem<'a>) -> Self
fn from(node: &'a ImportItem<'a>) -> Self
Performs the conversion.
sourceimpl<'a> From<&'a Node<'a, InstNameData<'a>>> for AllNode<'a>
impl<'a> From<&'a Node<'a, InstNameData<'a>>> for AllNode<'a>
sourceimpl<'a> From<&'a Node<'a, InterfaceData<'a>>> for AllNode<'a>
impl<'a> From<&'a Node<'a, InterfaceData<'a>>> for AllNode<'a>
sourceimpl<'a> From<&'a Node<'a, ModportData<'a>>> for AllNode<'a>
impl<'a> From<&'a Node<'a, ModportData<'a>>> for AllNode<'a>
sourceimpl<'a> From<&'a Node<'a, ModportNameData<'a>>> for AllNode<'a>
impl<'a> From<&'a Node<'a, ModportNameData<'a>>> for AllNode<'a>
sourcefn from(node: &'a ModportName<'a>) -> Self
fn from(node: &'a ModportName<'a>) -> Self
Performs the conversion.
sourceimpl<'a> From<&'a Node<'a, ModportPortData<'a>>> for AllNode<'a>
impl<'a> From<&'a Node<'a, ModportPortData<'a>>> for AllNode<'a>
sourcefn from(node: &'a ModportPort<'a>) -> Self
fn from(node: &'a ModportPort<'a>) -> Self
Performs the conversion.
sourceimpl<'a> From<&'a Node<'a, ModportSimplePortData<'a>>> for AllNode<'a>
impl<'a> From<&'a Node<'a, ModportSimplePortData<'a>>> for AllNode<'a>
sourcefn from(node: &'a ModportSimplePort<'a>) -> Self
fn from(node: &'a ModportSimplePort<'a>) -> Self
Performs the conversion.
sourceimpl<'a> From<&'a Node<'a, ModuleData<'a>>> for AllNode<'a>
impl<'a> From<&'a Node<'a, ModuleData<'a>>> for AllNode<'a>
sourceimpl<'a> From<&'a Node<'a, NetDeclData<'a>>> for AllNode<'a>
impl<'a> From<&'a Node<'a, NetDeclData<'a>>> for AllNode<'a>
sourceimpl<'a> From<&'a Node<'a, PackageData<'a>>> for AllNode<'a>
impl<'a> From<&'a Node<'a, PackageData<'a>>> for AllNode<'a>
sourceimpl<'a> From<&'a Node<'a, PackedDimData<'a>>> for AllNode<'a>
impl<'a> From<&'a Node<'a, PackedDimData<'a>>> for AllNode<'a>
sourceimpl<'a> From<&'a Node<'a, ParamDeclData<'a>>> for AllNode<'a>
impl<'a> From<&'a Node<'a, ParamDeclData<'a>>> for AllNode<'a>
sourceimpl<'a> From<&'a Node<'a, ParamTypeDeclData<'a>>> for AllNode<'a>
impl<'a> From<&'a Node<'a, ParamTypeDeclData<'a>>> for AllNode<'a>
sourcefn from(node: &'a ParamTypeDecl<'a>) -> Self
fn from(node: &'a ParamTypeDecl<'a>) -> Self
Performs the conversion.
sourceimpl<'a> From<&'a Node<'a, ParamValueDeclData<'a>>> for AllNode<'a>
impl<'a> From<&'a Node<'a, ParamValueDeclData<'a>>> for AllNode<'a>
sourcefn from(node: &'a ParamValueDecl<'a>) -> Self
fn from(node: &'a ParamValueDecl<'a>) -> Self
Performs the conversion.
sourceimpl<'a> From<&'a Node<'a, PathSegmentData<'a>>> for AllNode<'a>
impl<'a> From<&'a Node<'a, PathSegmentData<'a>>> for AllNode<'a>
sourcefn from(node: &'a PathSegment<'a>) -> Self
fn from(node: &'a PathSegment<'a>) -> Self
Performs the conversion.
sourceimpl<'a> From<&'a Node<'a, PatternFieldData<'a>>> for AllNode<'a>
impl<'a> From<&'a Node<'a, PatternFieldData<'a>>> for AllNode<'a>
sourcefn from(node: &'a PatternField<'a>) -> Self
fn from(node: &'a PatternField<'a>) -> Self
Performs the conversion.
sourceimpl<'a> From<&'a Node<'a, PortConnData<'a>>> for AllNode<'a>
impl<'a> From<&'a Node<'a, PortConnData<'a>>> for AllNode<'a>
sourceimpl<'a> From<&'a Node<'a, PortDeclData<'a>>> for AllNode<'a>
impl<'a> From<&'a Node<'a, PortDeclData<'a>>> for AllNode<'a>
sourceimpl<'a> From<&'a Node<'a, ProcedureData<'a>>> for AllNode<'a>
impl<'a> From<&'a Node<'a, ProcedureData<'a>>> for AllNode<'a>
sourceimpl<'a> From<&'a Node<'a, SourceFileData<'a>>> for AllNode<'a>
impl<'a> From<&'a Node<'a, SourceFileData<'a>>> for AllNode<'a>
sourcefn from(node: &'a SourceFile<'a>) -> Self
fn from(node: &'a SourceFile<'a>) -> Self
Performs the conversion.
sourceimpl<'a> From<&'a Node<'a, StructData<'a>>> for AllNode<'a>
impl<'a> From<&'a Node<'a, StructData<'a>>> for AllNode<'a>
sourceimpl<'a> From<&'a Node<'a, StructMemberData<'a>>> for AllNode<'a>
impl<'a> From<&'a Node<'a, StructMemberData<'a>>> for AllNode<'a>
sourcefn from(node: &'a StructMember<'a>) -> Self
fn from(node: &'a StructMember<'a>) -> Self
Performs the conversion.
sourceimpl<'a> From<&'a Node<'a, SubroutineDeclData<'a>>> for AllNode<'a>
impl<'a> From<&'a Node<'a, SubroutineDeclData<'a>>> for AllNode<'a>
sourcefn from(node: &'a SubroutineDecl<'a>) -> Self
fn from(node: &'a SubroutineDecl<'a>) -> Self
Performs the conversion.
sourceimpl<'a> From<&'a Node<'a, SubroutinePortData<'a>>> for AllNode<'a>
impl<'a> From<&'a Node<'a, SubroutinePortData<'a>>> for AllNode<'a>
sourcefn from(node: &'a SubroutinePort<'a>) -> Self
fn from(node: &'a SubroutinePort<'a>) -> Self
Performs the conversion.
sourceimpl<'a> From<&'a Node<'a, SubroutinePortDeclData<'a>>> for AllNode<'a>
impl<'a> From<&'a Node<'a, SubroutinePortDeclData<'a>>> for AllNode<'a>
sourcefn from(node: &'a SubroutinePortDecl<'a>) -> Self
fn from(node: &'a SubroutinePortDecl<'a>) -> Self
Performs the conversion.
sourceimpl<'a> From<&'a Node<'a, SubroutinePrototypeData<'a>>> for AllNode<'a>
impl<'a> From<&'a Node<'a, SubroutinePrototypeData<'a>>> for AllNode<'a>
sourcefn from(node: &'a SubroutinePrototype<'a>) -> Self
fn from(node: &'a SubroutinePrototype<'a>) -> Self
Performs the conversion.
sourceimpl<'a> From<&'a Node<'a, TypeKindData<'a>>> for AllNode<'a>
impl<'a> From<&'a Node<'a, TypeKindData<'a>>> for AllNode<'a>
sourceimpl<'a> From<&'a Node<'a, TypedefData<'a>>> for AllNode<'a>
impl<'a> From<&'a Node<'a, TypedefData<'a>>> for AllNode<'a>
sourceimpl<'a> From<&'a Node<'a, UnpackedDimData<'a>>> for AllNode<'a>
impl<'a> From<&'a Node<'a, UnpackedDimData<'a>>> for AllNode<'a>
sourcefn from(node: &'a UnpackedDim<'a>) -> Self
fn from(node: &'a UnpackedDim<'a>) -> Self
Performs the conversion.
sourceimpl<'a> From<&'a Node<'a, VarDeclData<'a>>> for AllNode<'a>
impl<'a> From<&'a Node<'a, VarDeclData<'a>>> for AllNode<'a>
sourceimpl<'a> From<&'a Node<'a, VarDeclNameData<'a>>> for AllNode<'a>
impl<'a> From<&'a Node<'a, VarDeclNameData<'a>>> for AllNode<'a>
sourcefn from(node: &'a VarDeclName<'a>) -> Self
fn from(node: &'a VarDeclName<'a>) -> Self
Performs the conversion.
sourceimpl<'a> From<&'a Node<'a, VarDimData<'a>>> for AllNode<'a>
impl<'a> From<&'a Node<'a, VarDimData<'a>>> for AllNode<'a>
impl<'a> Copy for AllNode<'a>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for AllNode<'a>
impl<'a> Send for AllNode<'a>
impl<'a> Sync for AllNode<'a>
impl<'a> Unpin for AllNode<'a>
impl<'a> !UnwindSafe for AllNode<'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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more