pub struct Function { /* private fields */ }
Expand description
A named, exported #[no_mangle] extern "C" fn f()
function.
Implementations
sourceimpl 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
sourceimpl Ord for Function
impl Ord for Function
sourceimpl PartialOrd<Function> for Function
impl PartialOrd<Function> for Function
sourcefn partial_cmp(&self, other: &Function) -> Option<Ordering>
fn partial_cmp(&self, other: &Function) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Eq for Function
impl StructuralEq for Function
impl StructuralPartialEq for Function
Auto Trait Implementations
impl RefUnwindSafe for Function
impl Send for Function
impl Sync for Function
impl Unpin for Function
impl UnwindSafe for Function
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more