Trait gstreamer::prelude::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>

Object Safety§

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§