api_impl

Attribute Macro api_impl 

Source
#[api_impl]
Expand description

Implement an AxVisor API interface.

This macro is applied to an impl block that implements a trait previously defined with api_def. It generates the necessary boilerplate code to register the implementation as an AxVisor API implementation. No arguments are accepted.

This macro uses crate_interface::impl_interface internally.