Trait wireplumber::spa::SpaValue
source · pub trait SpaValue {
type Owned: for<'a> TryFrom<&'a SpaPod>;
// Required method
fn add_to_builder(&self, builder: &SpaPodBuilder);
}
Required Associated Types§
Required Methods§
fn add_to_builder(&self, builder: &SpaPodBuilder)
Implementations on Foreign Types§
source§impl SpaValue for Value
Available on crate feature libspa
only.
impl SpaValue for Value
Available on crate feature
libspa
only.fn add_to_builder(&self, builder: &SpaPodBuilder)
type Owned = Value
source§impl SpaValue for bool
impl SpaValue for bool
fn add_to_builder(&self, builder: &SpaPodBuilder)
type Owned = bool
source§impl SpaValue for f32
impl SpaValue for f32
fn add_to_builder(&self, builder: &SpaPodBuilder)
type Owned = f32
source§impl SpaValue for f64
impl SpaValue for f64
fn add_to_builder(&self, builder: &SpaPodBuilder)
type Owned = f64
source§impl SpaValue for i32
impl SpaValue for i32
fn add_to_builder(&self, builder: &SpaPodBuilder)
type Owned = i32
source§impl SpaValue for i64
impl SpaValue for i64
fn add_to_builder(&self, builder: &SpaPodBuilder)
type Owned = i64
source§impl SpaValue for str
impl SpaValue for str
fn add_to_builder(&self, builder: &SpaPodBuilder)
type Owned = GString
source§impl SpaValue for Fd
Available on crate feature libspa
only.
impl SpaValue for Fd
Available on crate feature
libspa
only.fn add_to_builder(&self, builder: &SpaPodBuilder)
type Owned = Fd
source§impl SpaValue for Id
Available on crate feature libspa
only.
impl SpaValue for Id
Available on crate feature
libspa
only.fn add_to_builder(&self, builder: &SpaPodBuilder)
type Owned = Id
source§impl SpaValue for spa_fraction
impl SpaValue for spa_fraction
fn add_to_builder(&self, builder: &SpaPodBuilder)
type Owned = spa_fraction
source§impl SpaValue for spa_rectangle
impl SpaValue for spa_rectangle
fn add_to_builder(&self, builder: &SpaPodBuilder)
type Owned = spa_rectangle
source§impl SpaValue for [u8]
impl SpaValue for [u8]
fn add_to_builder(&self, builder: &SpaPodBuilder)
type Owned = Vec<u8>
source§impl<'a, T> SpaValue for [&'a dyn SpaValue<Owned = T>]
impl<'a, T> SpaValue for [&'a dyn SpaValue<Owned = T>]
Struct