pub trait GstValueExt: Sized {
Show 15 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>;
}
This is supported on crate feature v1_20
only.
This is supported on crate feature v1_20
only.