Struct interoptopus::lang::c::FnPointerType
source · [−]pub struct FnPointerType { /* private fields */ }
Expand description
Represents extern "C" fn()
types in Rust and (*f)().
in C.
Implementations
sourceimpl FnPointerType
impl FnPointerType
pub fn new(signature: FunctionSignature) -> Self
pub fn signature(&self) -> &FunctionSignature
pub fn internal_name(&self) -> String
Trait Implementations
sourceimpl Clone for FnPointerType
impl Clone for FnPointerType
sourcefn clone(&self) -> FnPointerType
fn clone(&self) -> FnPointerType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for FnPointerType
impl Debug for FnPointerType
sourceimpl Hash for FnPointerType
impl Hash for FnPointerType
sourceimpl Ord for FnPointerType
impl Ord for FnPointerType
sourceimpl PartialEq<FnPointerType> for FnPointerType
impl PartialEq<FnPointerType> for FnPointerType
sourcefn eq(&self, other: &FnPointerType) -> bool
fn eq(&self, other: &FnPointerType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &FnPointerType) -> bool
fn ne(&self, other: &FnPointerType) -> bool
This method tests for !=
.
sourceimpl PartialOrd<FnPointerType> for FnPointerType
impl PartialOrd<FnPointerType> for FnPointerType
sourcefn partial_cmp(&self, other: &FnPointerType) -> Option<Ordering>
fn partial_cmp(&self, other: &FnPointerType) -> 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 FnPointerType
impl StructuralEq for FnPointerType
impl StructuralPartialEq for FnPointerType
Auto Trait Implementations
impl RefUnwindSafe for FnPointerType
impl Send for FnPointerType
impl Sync for FnPointerType
impl Unpin for FnPointerType
impl UnwindSafe for FnPointerType
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