Attribute Macro interoptopus::ffi_service_ignore

source ·
#[ffi_service_ignore]
Available on crate feature derive only.
Expand description

Inside a #[ffi_service] block, don’t emit code for a method.

This is an optional attribute that can be applied to methods.

By default all public methods inside a #[ffi_service] section will be exported to FFI. However, public methods with this attribute will be ignored instead. This can be useful if you want to add Rust-internal helper methods to your service.

See the service module for an introduction into services.