Expand description

Wrappers for the external types

Traits

  • Wrapper for the external type, must not be null. By convention, all wrapped structures should with the Ref prefix. #[repr(transparent)] should be used where possible.
  • Provides support for spa_sys::spa_interface methods. spa_interface_call can used to call the methods
  • Owned wrapper for the external type. Should be used when external value can be created or dropped from the Rust side, or when Wrapper should have additional fields. Methods wrappers can be implemented in the RawWrapper and used from the both variants. Usually Wrappers have only constructor and drop implementations.