Trait babl::ObjectType

source ·
pub unsafe trait ObjectType {
    // Required methods
    unsafe fn from_raw_full(ptr: *const Babl) -> Self;
    unsafe fn inner(&self) -> *const Babl;

    // Provided methods
    fn name(&self) -> String { ... }
    fn introspect(&self) { ... }
}
Expand description

§Safety

The trait is only meant to be implemented internally by Babl types

Required Methods§

source

unsafe fn from_raw_full(ptr: *const Babl) -> Self

source

unsafe fn inner(&self) -> *const Babl

Provided Methods§

source

fn name(&self) -> String

source

fn introspect(&self)

Object Safety§

This trait is not object safe.

Implementors§