Enum calyx_frontend::parser::AliasedRule
source · pub enum AliasedRule {
Show 94 variants
cell,
attr_val,
EOI,
static_switch_stmt,
par,
term,
latency_annotation,
identifier,
static_word,
num_lit,
invoke_ref_args,
expr,
static_optional_latency,
octal,
args,
at_attributes,
primitive,
static_guard_expr,
guard_geq,
static_wire,
port,
guard_expr,
while_stmt,
bad_num,
prim_inline,
externs_and_comps,
if_stmt,
extern_or_component,
static_group,
params,
static_annotation,
signature,
attributes,
hole,
guard_leq,
metadata_char,
inputs,
block,
guard_gt,
both_comb_static,
io_port,
outputs,
at_attribute,
block_string,
sig_with_params,
wire,
string_lit,
cell_without_semi,
invoke_ref_arg,
imports,
reference,
block_char,
cmp_expr,
group,
connections,
seq,
file,
bitwidth,
attribute,
invoke_arg,
guard_eq,
hex,
component,
repeat_stmt,
decimal,
empty,
LHS,
any_char,
cells,
comb,
name_with_attribute,
static_term,
static_timing_expr,
port_with,
binary,
ext,
stmts_without_block,
static_par,
guard_lt,
enable,
stmt,
metadata,
static_seq,
control,
comb_or_static,
guard_not,
char,
semi,
invoke_args,
invoke,
static_invoke,
switch_stmt,
guard_neq,
static_if_stmt,
}
Variants§
cell
attr_val
EOI
static_switch_stmt
par
term
latency_annotation
identifier
static_word
num_lit
invoke_ref_args
expr
static_optional_latency
octal
args
at_attributes
primitive
static_guard_expr
guard_geq
static_wire
port
guard_expr
while_stmt
bad_num
prim_inline
externs_and_comps
if_stmt
extern_or_component
static_group
params
static_annotation
signature
attributes
hole
guard_leq
metadata_char
inputs
block
guard_gt
both_comb_static
io_port
outputs
at_attribute
block_string
sig_with_params
wire
string_lit
cell_without_semi
invoke_ref_arg
imports
reference
block_char
cmp_expr
group
connections
seq
file
bitwidth
attribute
invoke_arg
guard_eq
hex
component
repeat_stmt
decimal
empty
LHS
any_char
cells
comb
name_with_attribute
static_term
static_timing_expr
port_with
binary
ext
stmts_without_block
static_par
guard_lt
enable
stmt
metadata
static_seq
control
comb_or_static
guard_not
char
semi
invoke_args
invoke
static_invoke
switch_stmt
guard_neq
static_if_stmt
Trait Implementations§
source§impl Clone for AliasedRule
impl Clone for AliasedRule
source§fn clone(&self) -> AliasedRule
fn clone(&self) -> AliasedRule
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AliasedRule
impl Debug for AliasedRule
source§impl Hash for AliasedRule
impl Hash for AliasedRule
source§impl Ord for AliasedRule
impl Ord for AliasedRule
source§fn cmp(&self, other: &AliasedRule) -> Ordering
fn cmp(&self, other: &AliasedRule) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<AliasedRule> for AliasedRule
impl PartialEq<AliasedRule> for AliasedRule
source§fn eq(&self, other: &AliasedRule) -> bool
fn eq(&self, other: &AliasedRule) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<AliasedRule> for AliasedRule
impl PartialOrd<AliasedRule> for AliasedRule
source§fn partial_cmp(&self, other: &AliasedRule) -> Option<Ordering>
fn partial_cmp(&self, other: &AliasedRule) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for AliasedRule
impl Eq for AliasedRule
impl StructuralEq for AliasedRule
impl StructuralPartialEq for AliasedRule
Auto Trait Implementations§
impl RefUnwindSafe for AliasedRule
impl Send for AliasedRule
impl Sync for AliasedRule
impl Unpin for AliasedRule
impl UnwindSafe for AliasedRule
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.