Attribute Macro ambassador::delegatable_trait
source ยท #[delegatable_trait]
Expand description
Make a trait available for delegation
This also makes your trait delegatable in other crates:
use ambassador::delegatable_trait;
#[delegatable_trait] // <-------
pub trait Shout {
fn shout(&self, input: &str) -> String;
}