pub struct ExternFunction {
pub name: String,
pub signature: ExternSignature,
}Expand description
A function in the host’s C ABI that the design calls, such as a
SystemVerilog DPI-C import. ExternCall instructions index the design’s
table of these.
Fields§
§name: StringThe C symbol the function is linked by.
signature: ExternSignatureThe prototype every call of name must share (IEEE 1800-2023
35.5.4).
Trait Implementations§
Source§impl Clone for ExternFunction
impl Clone for ExternFunction
Source§impl Debug for ExternFunction
impl Debug for ExternFunction
Source§impl<'de> Deserialize<'de> for ExternFunction
impl<'de> Deserialize<'de> for ExternFunction
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 ExternFunction
impl Display for ExternFunction
impl Eq for ExternFunction
Source§impl PartialEq for ExternFunction
impl PartialEq for ExternFunction
Source§impl Serialize for ExternFunction
impl Serialize for ExternFunction
impl StructuralPartialEq for ExternFunction
Auto Trait Implementations§
impl Freeze for ExternFunction
impl RefUnwindSafe for ExternFunction
impl Send for ExternFunction
impl Sync for ExternFunction
impl Unpin for ExternFunction
impl UnsafeUnpin for ExternFunction
impl UnwindSafe for ExternFunction
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