Trait Meta Transform
Source pub unsafe trait MetaTransform {
type GLibType;
// Required methods
fn quark() -> Quark;
fn as_ptr(&self) -> *const Self::GLibType;
}Expand description
A kind of meta transform, e.g. MetaTransformCopy or
VideoMetaTransformScale.
§Safety
Self must be #[repr(transparent)] over Self::GLibType, and quark()
must return the quark GStreamer uses to identify a transform whose
accompanying data is a Self::GLibType. MetaTransformRef::get relies on
both to hand out a &Self for a matching quark.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".