gstreamer::prelude

Trait GstValueExt

Source
pub trait GstValueExt: Sized {
Show 15 methods // Required methods fn can_compare(&self, other: &Self) -> bool; fn compare(&self, other: &Self) -> Option<Ordering>; fn eq(&self, other: &Self) -> bool; fn can_intersect(&self, other: &Self) -> bool; fn intersect(&self, other: &Self) -> Option<Self>; fn can_subtract(&self, other: &Self) -> bool; fn subtract(&self, other: &Self) -> Option<Self>; fn can_union(&self, other: &Self) -> bool; fn union(&self, other: &Self) -> Option<Self>; fn fixate(&self) -> Option<Self>; fn is_fixed(&self) -> bool; fn is_subset(&self, superset: &Self) -> bool; fn serialize(&self) -> Result<GString, BoolError>; fn deserialize(s: &str, type_: Type) -> Result<Value, BoolError>; fn deserialize_with_pspec( s: &str, pspec: &ParamSpec, ) -> Result<Value, BoolError>;
}

Required Methods§

Source

fn can_compare(&self, other: &Self) -> bool

Source

fn compare(&self, other: &Self) -> Option<Ordering>

Source

fn eq(&self, other: &Self) -> bool

Source

fn can_intersect(&self, other: &Self) -> bool

Source

fn intersect(&self, other: &Self) -> Option<Self>

Source

fn can_subtract(&self, other: &Self) -> bool

Source

fn subtract(&self, other: &Self) -> Option<Self>

Source

fn can_union(&self, other: &Self) -> bool

Source

fn union(&self, other: &Self) -> Option<Self>

Source

fn fixate(&self) -> Option<Self>

Source

fn is_fixed(&self) -> bool

Source

fn is_subset(&self, superset: &Self) -> bool

Source

fn serialize(&self) -> Result<GString, BoolError>

Source

fn deserialize(s: &str, type_: Type) -> Result<Value, BoolError>

Source

fn deserialize_with_pspec( s: &str, pspec: &ParamSpec, ) -> Result<Value, BoolError>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl GstValueExt for Value

Source§

fn can_compare(&self, other: &Self) -> bool

Source§

fn compare(&self, other: &Self) -> Option<Ordering>

Source§

fn eq(&self, other: &Self) -> bool

Source§

fn can_intersect(&self, other: &Self) -> bool

Source§

fn intersect(&self, other: &Self) -> Option<Self>

Source§

fn can_subtract(&self, other: &Self) -> bool

Source§

fn subtract(&self, other: &Self) -> Option<Self>

Source§

fn can_union(&self, other: &Self) -> bool

Source§

fn union(&self, other: &Self) -> Option<Self>

Source§

fn fixate(&self) -> Option<Self>

Source§

fn is_fixed(&self) -> bool

Source§

fn is_subset(&self, superset: &Self) -> bool

Source§

fn serialize(&self) -> Result<GString, BoolError>

Source§

fn deserialize(s: &str, type_: Type) -> Result<Value, BoolError>

Source§

fn deserialize_with_pspec( s: &str, pspec: &ParamSpec, ) -> Result<Value, BoolError>

Implementors§