Skip to main content

Code

Foreign Type Code 

Source
extern {
    pub type Code;
}
🔬This is a nightly-only experimental API. (fn_static #148768)
Expand description

A type representing the machine code of a function.

A pointer pointing to this type is similar to a function pointer, but does not specify the signature or ABI of the function, and cannot be used to call the function from safe code.

Pointers to this type may be obtained using the FnPtr trait.