pub enum VerilogType {
Wire(u32),
Reg(u32),
Logic(u32),
Integer,
Real,
}Expand description
Verilog / SystemVerilog data types.
Variants§
Wire(u32)
wire [width-1:0] — combinational net
Reg(u32)
reg [width-1:0] — clocked register (Verilog 2001)
Logic(u32)
logic [width-1:0] — SystemVerilog unified net/variable
Integer
integer — 32-bit signed integer
Real
real — 64-bit IEEE-754 double
Trait Implementations§
Source§impl Clone for VerilogType
impl Clone for VerilogType
Source§fn clone(&self) -> VerilogType
fn clone(&self) -> VerilogType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VerilogType
impl Debug for VerilogType
Source§impl Display for VerilogType
impl Display for VerilogType
Source§impl PartialEq for VerilogType
impl PartialEq for VerilogType
impl StructuralPartialEq for VerilogType
Auto Trait Implementations§
impl Freeze for VerilogType
impl RefUnwindSafe for VerilogType
impl Send for VerilogType
impl Sync for VerilogType
impl Unpin for VerilogType
impl UnsafeUnpin for VerilogType
impl UnwindSafe for VerilogType
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