Skip to main content

interface

Attribute Macro interface 

Source
#[interface]
Expand description

Declare an interface: an opaque, reference-counted object type with constructors, methods, and statics read from its impl block. Methods take &self or self: Arc<Self>; the type must be Send + Sync.