pub enum ExternType {
Bit,
Logic,
Integer {
width: usize,
signed: bool,
},
}Expand description
A type an ExternFunction passes or returns.
Variants§
Bit
bit, passed as svBit.
Logic
logic, passed as svLogic.
Integer
byte, shortint, int or longint, passed as the C integer of
that width.
Trait Implementations§
Source§impl Clone for ExternType
impl Clone for ExternType
impl Copy for ExternType
Source§impl Debug for ExternType
impl Debug for ExternType
Source§impl<'de> Deserialize<'de> for ExternType
impl<'de> Deserialize<'de> for ExternType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ExternType
impl Display for ExternType
impl Eq for ExternType
Source§impl PartialEq for ExternType
impl PartialEq for ExternType
Source§impl Serialize for ExternType
impl Serialize for ExternType
impl StructuralPartialEq for ExternType
Auto Trait Implementations§
impl Freeze for ExternType
impl RefUnwindSafe for ExternType
impl Send for ExternType
impl Sync for ExternType
impl Unpin for ExternType
impl UnsafeUnpin for ExternType
impl UnwindSafe for ExternType
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