Enum calyx_frontend::parser::AliasedRule
source · [−]pub enum AliasedRule {
Show 98 variants
cells,
attribute,
char,
outputs,
any_char,
at_attribute,
float,
at_attributes,
sig_with_params,
static_term,
guard_lt,
binary,
cmp_expr,
port_with,
term,
static_group,
invoke_ref_args,
static_par,
stmts_without_block,
metadata,
static_seq,
comma,
externs_and_comps,
block_char,
semi,
float_const,
guard_gt,
guard_expr,
group,
static_if_stmt,
string_lit,
block_string,
both_comb_static,
args,
extern_or_component,
comb_or_static,
attributes,
invoke_arg,
invoke_ref_arg,
reference,
guard_eq,
while_stmt,
octal,
hex,
seq,
imports,
prim_inline,
EOI,
static_timing_expr,
stmt,
cell_without_semi,
identifier,
bitwidth,
static_guard_expr,
static_wire,
invoke,
component,
wire,
block,
comma_req,
port,
guard_leq,
static_switch_stmt,
comb,
if_stmt,
metadata_char,
invoke_args,
file,
enable,
io_port,
signature,
hole,
name_with_attribute,
latency_annotation,
expr,
connections,
bad_num,
switch_stmt,
par,
static_invoke,
cell,
ext,
num_lit,
inputs,
LHS,
attr_val,
decimal,
guard_neq,
guard_geq,
params,
static_annotation,
guard_not,
empty,
repeat_stmt,
control,
primitive,
static_word,
static_optional_latency,
}
Variants
cells
attribute
char
outputs
any_char
at_attribute
float
at_attributes
sig_with_params
static_term
guard_lt
binary
cmp_expr
port_with
term
static_group
invoke_ref_args
static_par
stmts_without_block
metadata
static_seq
comma
externs_and_comps
block_char
semi
float_const
guard_gt
guard_expr
group
static_if_stmt
string_lit
block_string
both_comb_static
args
extern_or_component
comb_or_static
attributes
invoke_arg
invoke_ref_arg
reference
guard_eq
while_stmt
octal
hex
seq
imports
prim_inline
EOI
static_timing_expr
stmt
cell_without_semi
identifier
bitwidth
static_guard_expr
static_wire
invoke
component
wire
block
comma_req
port
guard_leq
static_switch_stmt
comb
if_stmt
metadata_char
invoke_args
file
enable
io_port
signature
hole
name_with_attribute
latency_annotation
expr
connections
bad_num
switch_stmt
par
static_invoke
cell
ext
num_lit
inputs
LHS
attr_val
decimal
guard_neq
guard_geq
params
static_annotation
guard_not
empty
repeat_stmt
control
primitive
static_word
static_optional_latency
Trait Implementations
sourceimpl Clone for AliasedRule
impl Clone for AliasedRule
sourcefn clone(&self) -> AliasedRule
fn clone(&self) -> AliasedRule
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for AliasedRule
impl Debug for AliasedRule
sourceimpl Hash for AliasedRule
impl Hash for AliasedRule
sourceimpl Ord for AliasedRule
impl Ord for AliasedRule
sourcefn cmp(&self, other: &AliasedRule) -> Ordering
fn cmp(&self, other: &AliasedRule) -> Ordering
1.21.0 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<AliasedRule> for AliasedRule
impl PartialEq<AliasedRule> for AliasedRule
sourcefn eq(&self, other: &AliasedRule) -> bool
fn eq(&self, other: &AliasedRule) -> bool
sourceimpl PartialOrd<AliasedRule> for AliasedRule
impl PartialOrd<AliasedRule> for AliasedRule
sourcefn partial_cmp(&self, other: &AliasedRule) -> Option<Ordering>
fn partial_cmp(&self, other: &AliasedRule) -> Option<Ordering>
1.0.0 · sourcefn 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn 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.