pub trait BaseTransformExtManual:
Sealed
+ IsA<BaseTransform>
+ 'static {
// Provided methods
fn allocator(&self) -> (Option<Allocator>, AllocationParams) { ... }
fn segment(&self) -> Segment { ... }
fn sink_pad(&self) -> &Pad { ... }
fn src_pad(&self) -> &Pad { ... }
}
Provided Methods§
sourcefn allocator(&self) -> (Option<Allocator>, AllocationParams)
fn allocator(&self) -> (Option<Allocator>, AllocationParams)
Lets BaseTransform
sub-classes know the memory allocator
used by the base class and its params
.
Unref the allocator
after use.
§Returns
§allocator
the gst::Allocator
used
§params
the gst::AllocationParams
of allocator
fn segment(&self) -> Segment
fn sink_pad(&self) -> &Pad
fn src_pad(&self) -> &Pad
Object Safety§
This trait is not object safe.