Trait Value Table Impl
Source pub trait ValueTableImpl:
StaticType
+ Into<Value>
+ Send
+ Sync
+ 'static {
// Required methods
fn serialize(&self) -> Result<GString, BoolError>;
fn deserialize(
s: &str,
pspec: Option<&ParamSpec>,
) -> Result<Self, BoolError>;
// Provided methods
fn compare(&self, _other: &Self) -> Option<Ordering> { ... }
fn hash(&self) -> Option<u32> { ... }
}Expand description
How GStreamer serializes, deserializes, compares and hashes values of a type.
After value_register(), GstValueExt works for values of this
type, so for example properties of this type can be set from a string in
gst-launch-1.0 or a pipeline description.
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".