Struct interoptopus::lang::c::Function
source ยท pub struct Function { /* private fields */ }
Expand description
A named, exported #[no_mangle] extern "C" fn f()
function.
Implementationsยง
sourceยงimpl Function
impl Function
pub fn new(name: String, signature: FunctionSignature, meta: Meta) -> Self
pub fn name(&self) -> &str
pub fn signature(&self) -> &FunctionSignature
pub fn meta(&self) -> &Meta
pub fn prettifier(&self) -> IdPrettifier
Trait Implementationsยง
sourceยงimpl Ord for Function
impl Ord for Function
1.21.0 ยท sourceยงfn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
sourceยงimpl PartialOrd for Function
impl PartialOrd for Function
impl Eq for Function
impl StructuralPartialEq for Function
Auto Trait Implementationsยง
impl Freeze for Function
impl RefUnwindSafe for Function
impl Send for Function
impl Sync for Function
impl Unpin for Function
impl UnwindSafe for Function
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
sourceยงimpl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
sourceยงunsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
๐ฌThis is a nightly-only experimental API. (
clone_to_uninit
)