#[interface]
Expand description

Implement SpaInterface and Proxied traits.

Arguments

  • methods - struct with interface methods
  • interface - interface name

Examples

#[derive(RawWrapper, Debug)]
#[interface(methods=pw_sys::pw_node_methods, interface="Node")]
#[repr(transparent)]
pub struct NodeRef {
    #[raw]
    raw: pw_sys::pw_node,
}