Struct HirExternFunction
pub struct HirExternFunction {
pub symbol: String,
pub params: Vec<HirParam>,
pub return_type: HirType,
pub span: SourceSpan,
}Expand description
Extern function declaration lowered into HIR form.
Fields§
§symbol: StringRuntime symbol name referenced by codegen.
params: Vec<HirParam>Ordered parameter list.
return_type: HirTypeDeclared return type.
span: SourceSpanSource span covering the extern declaration.
Trait Implementations§
§impl Clone for HirExternFunction
impl Clone for HirExternFunction
§fn clone(&self) -> HirExternFunction
fn clone(&self) -> HirExternFunction
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for HirExternFunction
impl RefUnwindSafe for HirExternFunction
impl Send for HirExternFunction
impl Sync for HirExternFunction
impl Unpin for HirExternFunction
impl UnwindSafe for HirExternFunction
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