pub struct RustExternSig {
pub crate_name: String,
pub item: String,
pub params: Vec<Ty>,
pub ret: Ty,
pub fallible: bool,
pub span: Span,
}Expand description
Declared extern rust function used to type imported crate items (#116).
Fields§
§crate_name: String§item: String§params: Vec<Ty>§ret: Ty§fallible: bool§span: SpanTrait Implementations§
Source§impl Clone for RustExternSig
impl Clone for RustExternSig
Source§fn clone(&self) -> RustExternSig
fn clone(&self) -> RustExternSig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RustExternSig
impl RefUnwindSafe for RustExternSig
impl Send for RustExternSig
impl Sync for RustExternSig
impl Unpin for RustExternSig
impl UnsafeUnpin for RustExternSig
impl UnwindSafe for RustExternSig
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