Enum calyx_frontend::parser::AliasedRule
source · pub enum AliasedRule {
Show 96 variants
comb,
both_comb_static,
cell,
identifier,
outputs,
static_optional_latency,
static_annotation,
name_with_attribute,
hole,
decimal,
guard_leq,
invoke_ref_arg,
stmts_without_block,
block_string,
attr_val,
extern_or_component,
guard_geq,
latency_annotation,
seq,
wire,
prim_inline,
sig_with_params,
metadata,
switch_stmt,
par,
term,
any_char,
cmp_expr,
cells,
bitwidth,
static_invoke,
EOI,
empty,
ext,
attributes,
num_lit,
connections,
static_seq,
metadata_char,
reference,
primitive,
static_group,
args,
enable,
static_timing_expr,
static_if_stmt,
io_port,
cell_without_semi,
string_lit,
LHS,
port_with,
externs_and_comps,
invoke_ref_args,
attribute,
guard_eq,
static_guard_expr,
binary,
static_term,
guard_neq,
char,
expr,
repeat_stmt,
inputs,
stmt,
comma,
comb_or_static,
static_wire,
component,
static_par,
block,
port,
invoke_arg,
invoke_args,
comma_req,
hex,
while_stmt,
block_char,
at_attributes,
control,
imports,
semi,
static_switch_stmt,
at_attribute,
bad_num,
group,
invoke,
static_word,
octal,
signature,
guard_lt,
guard_gt,
guard_not,
params,
file,
if_stmt,
guard_expr,
}
Variants§
comb
both_comb_static
cell
identifier
outputs
static_optional_latency
static_annotation
name_with_attribute
hole
decimal
guard_leq
invoke_ref_arg
stmts_without_block
block_string
attr_val
extern_or_component
guard_geq
latency_annotation
seq
wire
prim_inline
sig_with_params
metadata
switch_stmt
par
term
any_char
cmp_expr
cells
bitwidth
static_invoke
EOI
empty
ext
attributes
num_lit
connections
static_seq
metadata_char
reference
primitive
static_group
args
enable
static_timing_expr
static_if_stmt
io_port
cell_without_semi
string_lit
LHS
port_with
externs_and_comps
invoke_ref_args
attribute
guard_eq
static_guard_expr
binary
static_term
guard_neq
char
expr
repeat_stmt
inputs
stmt
comma
comb_or_static
static_wire
component
static_par
block
port
invoke_arg
invoke_args
comma_req
hex
while_stmt
block_char
at_attributes
control
imports
semi
static_switch_stmt
at_attribute
bad_num
group
invoke
static_word
octal
signature
guard_lt
guard_gt
guard_not
params
file
if_stmt
guard_expr
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
§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.