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