pub struct ExternDecl {
pub symbol: String,
pub params: Vec<MirTy>,
pub ret: MirTy,
}Expand description
An imported external (C-ABI) function: its raw symbol and ABI classes.
Fields§
§symbol: StringThe raw C symbol to import and call (never mangled).
params: Vec<MirTy>§ret: MirTyTrait Implementations§
Source§impl Clone for ExternDecl
impl Clone for ExternDecl
Auto Trait Implementations§
impl Freeze for ExternDecl
impl RefUnwindSafe for ExternDecl
impl Send for ExternDecl
impl Sync for ExternDecl
impl Unpin for ExternDecl
impl UnsafeUnpin for ExternDecl
impl UnwindSafe for ExternDecl
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