Trait wireplumber::spa::SpaPrimitive

source ·
pub trait SpaPrimitive: SpaValue + Copy + Into<<Self as SpaValue>::Owned> {
    const TYPE: SpaType;
}

Required Associated Constants§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl SpaPrimitive for f32

source§

const TYPE: SpaType = SpaType::FLOAT

source§

impl SpaPrimitive for f64

source§

const TYPE: SpaType = SpaType::DOUBLE

source§

impl SpaPrimitive for i32

source§

const TYPE: SpaType = SpaType::INT

source§

impl SpaPrimitive for i64

source§

const TYPE: SpaType = SpaType::LONG

source§

impl SpaPrimitive for ()

source§

const TYPE: SpaType = SpaType::NONE

source§

impl SpaPrimitive for Fd

Available on crate feature libspa only.
source§

const TYPE: SpaType = SpaType::FD

source§

impl SpaPrimitive for Id

Available on crate feature libspa only.
source§

const TYPE: SpaType = SpaType::ID

source§

impl SpaPrimitive for spa_fraction

source§

const TYPE: SpaType = SpaType::FRACTION

source§

impl SpaPrimitive for spa_rectangle

source§

const TYPE: SpaType = SpaType::RECTANGLE

Implementors§

source§

impl SpaPrimitive for SpaBool

source§

const TYPE: SpaType = SpaType::BOOL