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§
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>
Object Safety§
This trait is not object safe.