Enum calyx_frontend::BoolAttr
source · #[repr(u8)]pub enum BoolAttr {
Show 13 variants
TopLevel = 0,
External = 1,
NoInterface = 2,
Reset = 3,
Clk = 4,
Stable = 5,
Data = 6,
Control = 7,
Share = 8,
StateShare = 9,
Generated = 10,
NewFSM = 11,
Inline = 12,
}Expand description
Attributes that are only allowed to take boolean values.
Variants§
TopLevel = 0
This is the top-level component
External = 1
Cell should be externalized
NoInterface = 2
The component doesn’t have a standard interface
Reset = 3
Reset signal for the component
Clk = 4
Clk for the signal
Stable = 5
Is the port connected to a state element
Data = 6
This is a data path instance
Control = 7
This is a control path instance
Is this component shareable
Is the component state shareable
Generated = 10
IR Node was generated by the compiler
NewFSM = 11
Generate a new FSM for this control node
Inline = 12
Inline this subcomponent
Implementations§
Trait Implementations§
source§impl PartialEq for BoolAttr
impl PartialEq for BoolAttr
impl Copy for BoolAttr
impl Eq for BoolAttr
impl StructuralEq for BoolAttr
impl StructuralPartialEq for BoolAttr
Auto Trait Implementations§
impl RefUnwindSafe for BoolAttr
impl Send for BoolAttr
impl Sync for BoolAttr
impl Unpin for BoolAttr
impl UnwindSafe for BoolAttr
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<T> CallHasher for T
impl<T> CallHasher for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§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 Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.