Trait gclient::ext::sp_core::sp_std::marker::FnPtr

source ·
pub trait FnPtr: Copy + Clone {
    // Required method
    fn addr(self) -> *const ();
}
🔬This is a nightly-only experimental API. (fn_ptr_trait)
Expand description

A common trait implemented by all function pointers.

Required Methods§

source

fn addr(self) -> *const ()

🔬This is a nightly-only experimental API. (fn_ptr_trait)

Returns the address of the function pointer.

Object Safety§

This trait is not object safe.

Implementors§