pub enum SigSpec {
Constant(Constant),
WireId(String),
Range(Box<SigSpec>, usize, Option<usize>),
Concat(Vec<SigSpec>),
}Expand description
Represents a signal specification
Variants§
Constant(Constant)
A constant value
WireId(String)
A wire id
Range(Box<SigSpec>, usize, Option<usize>)
A range of bits from a wire
Concat(Vec<SigSpec>)
A concatenation of signals
Trait Implementations§
impl StructuralPartialEq for SigSpec
Auto Trait Implementations§
impl Freeze for SigSpec
impl RefUnwindSafe for SigSpec
impl Send for SigSpec
impl Sync for SigSpec
impl Unpin for SigSpec
impl UnwindSafe for SigSpec
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