Enum calyx_frontend::BoolAttr
source · #[repr(u8)]pub enum BoolAttr {
Show 13 variants
TopLevel,
External,
NoInterface,
Reset,
Clk,
Stable,
Data,
Control,
Share,
StateShare,
Generated,
NewFSM,
Inline,
}
Expand description
Attributes that are only allowed to take boolean values.
Variants§
TopLevel
This is the top-level component
External
Cell should be externalized
NoInterface
The component doesn’t have a standard interface
Reset
Reset signal for the component
Clk
Clk for the signal
Stable
Is the port connected to a state element
Data
This is a data path instance
Control
This is a control path instance
Is this component shareable
Is the component state shareable
Generated
IR Node was generated by the compiler
NewFSM
Generate a new FSM for this control node
Inline
Inline this subcomponent
Implementations§
Trait Implementations§
source§impl PartialEq<BoolAttr> for BoolAttr
impl PartialEq<BoolAttr> 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<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.