Enum bitsy_lang::ast::WireType
source · pub enum WireType {
Dom,
Direct,
Latch,
Proc,
}
Expand description
The different kinds of Wire
s in Bitsy.
Variants§
Dom
Domain wire. Written $=
in the syntax. Connects a domain.
Direct
Direct wire. Written :=
in the syntax. Connects one terminal to another.
Latch
Latched wire. Written <=
in the syntax. Connects one terminal to the data pin of a register.
Proc
Procedural. Written <=!
in the syntax. Connects one terminal to the data pin of a register.
Trait Implementations§
source§impl PartialEq for WireType
impl PartialEq for WireType
impl Eq for WireType
impl StructuralEq for WireType
impl StructuralPartialEq for WireType
Auto Trait Implementations§
impl RefUnwindSafe for WireType
impl Send for WireType
impl Sync for WireType
impl Unpin for WireType
impl UnwindSafe for WireType
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
source§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,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.