pub struct Pipeline(/* private fields */);Trait Implementations§
Source§impl BinClassExt<Pipeline> for PipelineClass
impl BinClassExt<Pipeline> for PipelineClass
fn override_vfuncs(&mut self, _: &ClassInitToken)
Source§impl ElementClassExt<Pipeline> for PipelineClass
impl ElementClassExt<Pipeline> for PipelineClass
fn add_pad_template(&mut self, pad_template: PadTemplate)
fn set_metadata( &mut self, long_name: &str, classification: &str, description: &str, author: &str, )
fn override_vfuncs(&mut self, _: &ClassInitToken)
Source§impl ObjectClassExt<Pipeline> for PipelineClass
impl ObjectClassExt<Pipeline> for PipelineClass
fn override_vfuncs(&mut self, _: &ClassInitToken)
fn install_properties(&mut self, properties: &[Property<'_>])
fn add_signal(&mut self, name: &str, arg_types: &[Type], ret_type: Type)
fn add_signal_with_accumulator<F>( &mut self, name: &str, arg_types: &[Type], ret_type: Type, accumulator: F, )
fn add_action_signal<F>( &mut self, name: &str, arg_types: &[Type], ret_type: Type, handler: F, )
Source§impl ObjectType for Pipeline
impl ObjectType for Pipeline
const NAME: &'static str = "RsPipeline"
type ParentType = Pipeline
type ImplType = Box<dyn PipelineImpl<Pipeline>>
type InstanceStructType = ElementInstanceStruct<Pipeline>
fn class_init(token: &ClassInitToken, klass: &mut PipelineClass)
unsafe fn get_instance(&self) -> *mut Self::InstanceStructType
fn get_impl(&self) -> &Self::ImplType
unsafe fn get_class(&self) -> *const ClassStruct<Self>
Source§impl Ord for Pipeline
impl Ord for Pipeline
Source§impl<T: IsA<Object>> PartialOrd<T> for Pipeline
impl<T: IsA<Object>> PartialOrd<T> for Pipeline
Source§impl PipelineClassExt<Pipeline> for PipelineClass
impl PipelineClassExt<Pipeline> for PipelineClass
fn override_vfuncs(&mut self, _: &ClassInitToken)
Source§impl StaticType for Pipeline
impl StaticType for Pipeline
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self.impl Eq for Pipeline
impl IsA<Bin> for Pipeline
impl IsA<ChildProxy> for Pipeline
impl IsA<Element> for Pipeline
impl IsA<Object> for Pipeline
impl IsA<Object> for Pipeline
impl IsA<Pipeline> for Pipeline
impl Send for Pipeline
impl Sync for Pipeline
Auto Trait Implementations§
impl Freeze for Pipeline
impl !RefUnwindSafe for Pipeline
impl Unpin for Pipeline
impl !UnwindSafe for Pipeline
Blanket Implementations§
Source§impl<T> BinBase for T
impl<T> BinBase for T
fn parent_add_element(&self, element: &Element) -> bool
fn parent_remove_element(&self, element: &Element) -> bool
fn parent_handle_message(&self, message: Message)
Source§impl<O> BinExt for O
impl<O> BinExt for O
fn add<P>(&self, element: &P) -> Result<(), BoolError>
fn find_unlinked_pad(&self, direction: PadDirection) -> Option<Pad>
fn get_by_interface(&self, iface: Type) -> Option<Element>
fn get_by_name(&self, name: &str) -> Option<Element>
fn get_by_name_recurse_up(&self, name: &str) -> Option<Element>
fn recalculate_latency(&self) -> Result<(), BoolError>
fn remove<P>(&self, element: &P) -> Result<(), BoolError>
fn sync_children_states(&self) -> Result<(), BoolError>
fn get_property_async_handling(&self) -> bool
fn set_property_async_handling(&self, async_handling: bool)
fn get_property_message_forward(&self) -> bool
fn set_property_message_forward(&self, message_forward: bool)
fn connect_do_latency<F>(&self, f: F) -> SignalHandlerId
fn connect_element_added<F>(&self, f: F) -> SignalHandlerId
fn connect_element_removed<F>(&self, f: F) -> SignalHandlerId
fn connect_property_async_handling_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_message_forward_notify<F>(&self, f: F) -> SignalHandlerId
Source§impl<O> BinExtManual for O
impl<O> BinExtManual for O
fn add_many<E>(&self, elements: &[&E]) -> Result<(), BoolError>
fn remove_many<E>(&self, elements: &[&E]) -> Result<(), BoolError>
fn iterate_all_by_interface(&self, iface: Type) -> Iterator<Element>
fn iterate_elements(&self) -> Iterator<Element>
fn iterate_recurse(&self) -> Iterator<Element>
fn iterate_sinks(&self) -> Iterator<Element>
fn iterate_sorted(&self) -> Iterator<Element>
fn iterate_sources(&self) -> Iterator<Element>
fn get_children(&self) -> Vec<Element>
fn debug_to_dot_data(&self, details: DebugGraphDetails) -> String
fn debug_to_dot_file<Q>(&self, details: DebugGraphDetails, file_name: Q)
fn debug_to_dot_file_with_ts<Q>(&self, details: DebugGraphDetails, file_name: Q)
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Cast for T
impl<T> Cast for T
Source§fn upcast_ref<T>(&self) -> &T
fn upcast_ref<T>(&self) -> &T
Upcasts an object to a reference of its superclass or interface
T. Read moreSource§fn downcast<T>(self) -> Result<T, Self>
fn downcast<T>(self) -> Result<T, Self>
Tries to downcast to a subclass or interface implementor
T. Read moreSource§fn downcast_ref<T>(&self) -> Option<&T>
fn downcast_ref<T>(&self) -> Option<&T>
Tries to downcast to a reference of its subclass or interface implementor
T. Read moreSource§fn is<T>(&self) -> boolwhere
T: StaticType,
fn is<T>(&self) -> boolwhere
T: StaticType,
Returns
true if the object is an instance of (can be cast to) T.Source§fn dynamic_cast<T>(self) -> Result<T, Self>
fn dynamic_cast<T>(self) -> Result<T, Self>
Tries to cast to an object of type
T. This handles upcasting, downcasting
and casting between interface and interface implementors. All checks are performed at
runtime, while downcast and upcast will do many checks at compile-time already. Read moreSource§fn dynamic_cast_ref<T>(&self) -> Option<&T>
fn dynamic_cast_ref<T>(&self) -> Option<&T>
Tries to cast to reference to an object of type
T. This handles upcasting, downcasting
and casting between interface and interface implementors. All checks are performed at
runtime, while downcast and upcast will do many checks at compile-time already. Read moreSource§impl<O> ChildProxyExt for O
impl<O> ChildProxyExt for O
fn child_added<P>(&self, child: &P, name: &str)
fn child_removed<P>(&self, child: &P, name: &str)
fn get_child_by_index(&self, index: u32) -> Option<Object>
fn get_child_by_name(&self, name: &str) -> Option<Object>
fn get_children_count(&self) -> u32
fn connect_child_added<F>(&self, f: F) -> SignalHandlerId
fn connect_child_removed<F>(&self, f: F) -> SignalHandlerId
Source§impl<O> ChildProxyExtManual for Owhere
O: IsA<ChildProxy>,
impl<O> ChildProxyExtManual for Owhere
O: IsA<ChildProxy>,
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Super, Sub> Downcast<Sub> for Super
impl<Super, Sub> Downcast<Sub> for Super
Source§fn can_downcast(&self) -> bool
fn can_downcast(&self) -> bool
Checks if it’s possible to downcast to
T. Read moreSource§unsafe fn downcast_unchecked(self) -> Sub
unsafe fn downcast_unchecked(self) -> Sub
Downcasts to
T unconditionally. Read moreSource§unsafe fn downcast_ref_unchecked(&self) -> &Sub
unsafe fn downcast_ref_unchecked(&self) -> &Sub
Downcasts to
&T unconditionally. Read moreSource§impl<T> ElementBase for T
impl<T> ElementBase for T
fn parent_change_state(&self, transition: StateChange) -> StateChangeReturn
fn parent_send_event(&self, event: Event) -> bool
fn parent_query(&self, query: &mut QueryRef) -> bool
fn parent_set_context(&self, context: &Context)
fn catch_panic<T, F: FnOnce(&Self) -> T, G: FnOnce() -> T>( &self, fallback: G, f: F, ) -> T
Source§impl<O> ElementExt for O
impl<O> ElementExt for O
fn abort_state(&self)
fn add_pad<P>(&self, pad: &P) -> Result<(), BoolError>
fn change_state(&self, transition: StateChange) -> StateChangeReturn
fn continue_state(&self, ret: StateChangeReturn) -> StateChangeReturn
fn create_all_pads(&self)
fn get_base_time(&self) -> ClockTime
fn get_bus(&self) -> Option<Bus>
fn get_clock(&self) -> Option<Clock>
fn get_compatible_pad<'a, P, Q>(&self, pad: &P, caps: Q) -> Option<Pad>
fn get_compatible_pad_template( &self, compattempl: &PadTemplate, ) -> Option<PadTemplate>
fn get_context(&self, context_type: &str) -> Option<GstRc<ContextRef>>
fn get_contexts(&self) -> Vec<GstRc<ContextRef>>
fn get_factory(&self) -> Option<ElementFactory>
fn get_request_pad(&self, name: &str) -> Option<Pad>
fn get_start_time(&self) -> ClockTime
fn get_state(&self, timeout: ClockTime) -> (StateChangeReturn, State, State)
fn get_static_pad(&self, name: &str) -> Option<Pad>
fn is_locked_state(&self) -> bool
fn link<P>(&self, dest: &P) -> Result<(), BoolError>
fn link_filtered<'a, P, Q>(&self, dest: &P, filter: Q) -> Result<(), BoolError>
fn link_pads<'a, 'b, P, Q, R>( &self, srcpadname: P, dest: &Q, destpadname: R, ) -> Result<(), BoolError>
fn link_pads_filtered<'a, 'b, 'c, P, Q, R, S>( &self, srcpadname: P, dest: &Q, destpadname: R, filter: S, ) -> Result<(), BoolError>
fn link_pads_full<'a, 'b, P, Q, R>( &self, srcpadname: P, dest: &Q, destpadname: R, flags: PadLinkCheck, ) -> Result<(), BoolError>
fn lost_state(&self)
fn no_more_pads(&self)
fn post_message(&self, message: &GstRc<MessageRef>) -> Result<(), BoolError>
fn provide_clock(&self) -> Option<Clock>
fn release_request_pad<P>(&self, pad: &P)
fn remove_pad<P>(&self, pad: &P) -> Result<(), BoolError>
fn request_pad<'a, 'b, P, Q>( &self, templ: &PadTemplate, name: P, caps: Q, ) -> Option<Pad>
fn set_base_time(&self, time: ClockTime)
fn set_bus<'a, P>(&self, bus: P)
fn set_clock<'a, P, Q>(&self, clock: Q) -> Result<(), BoolError>
fn set_context(&self, context: &GstRc<ContextRef>)
fn set_locked_state(&self, locked_state: bool) -> bool
fn set_start_time(&self, time: ClockTime)
fn set_state(&self, state: State) -> StateChangeReturn
fn sync_state_with_parent(&self) -> Result<(), BoolError>
fn unlink<P>(&self, dest: &P)
fn unlink_pads<P>(&self, srcpadname: &str, dest: &P, destpadname: &str)
fn connect_no_more_pads<F>(&self, f: F) -> SignalHandlerId
fn connect_pad_added<F>(&self, f: F) -> SignalHandlerId
fn connect_pad_removed<F>(&self, f: F) -> SignalHandlerId
Source§impl<O> ElementExtManual for O
impl<O> ElementExtManual for O
fn query(&self, query: &mut QueryRef) -> bool
fn send_event(&self, event: GstRc<EventRef>) -> bool
fn get_metadata<'a>(&self, key: &str) -> Option<&'a str>
fn get_pad_template(&self, name: &str) -> Option<PadTemplate>
fn get_pad_template_list(&self) -> Vec<PadTemplate>
fn message_full<T>(
&self,
type_: ElementMessageType,
code: T,
message: Option<&str>,
debug: Option<&str>,
file: &str,
function: &str,
line: u32,
)where
T: MessageErrorDomain,
fn post_error_message(&self, msg: &ErrorMessage)
fn iterate_pads(&self) -> Iterator<Pad>
fn iterate_sink_pads(&self) -> Iterator<Pad>
fn iterate_src_pads(&self) -> Iterator<Pad>
fn get_pads(&self) -> Vec<Pad>
fn get_sink_pads(&self) -> Vec<Pad>
fn get_src_pads(&self) -> Vec<Pad>
fn query_convert<V, U>(&self, src_val: V) -> Option<U>
fn query_convert_generic<V>(
&self,
src_val: V,
dest_format: Format,
) -> Option<GenericFormattedValue>where
V: Into<GenericFormattedValue>,
fn query_duration<T>(&self) -> Option<T>where
T: SpecificFormattedValue,
fn query_duration_generic( &self, format: Format, ) -> Option<GenericFormattedValue>
fn query_position<T>(&self) -> Option<T>where
T: SpecificFormattedValue,
fn query_position_generic( &self, format: Format, ) -> Option<GenericFormattedValue>
fn seek<V>(
&self,
rate: f64,
flags: SeekFlags,
start_type: SeekType,
start: V,
stop_type: SeekType,
stop: V,
) -> Result<(), BoolError>where
V: Into<GenericFormattedValue>,
fn seek_simple<V>(
&self,
seek_flags: SeekFlags,
seek_pos: V,
) -> Result<(), BoolError>where
V: Into<GenericFormattedValue>,
Source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
Source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
Source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
Source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
Source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
Source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
Source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
Source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
Source§impl<O> GObjectExtManualGst for O
impl<O> GObjectExtManualGst for O
fn set_property_from_str(&self, name: &str, value: &str)
Source§impl<O> GstObjectExt for O
impl<O> GstObjectExt for O
fn default_error<'a, P>(&self, error: &Error, debug: P)
fn get_control_rate(&self) -> ClockTime
fn get_name(&self) -> String
fn get_parent(&self) -> Option<Object>
fn get_path_string(&self) -> String
fn has_active_control_bindings(&self) -> bool
fn has_ancestor<P>(&self, ancestor: &P) -> bool
fn has_as_ancestor<P>(&self, ancestor: &P) -> bool
fn has_as_parent<P>(&self, parent: &P) -> bool
fn set_control_binding_disabled(&self, property_name: &str, disabled: bool)
fn set_control_bindings_disabled(&self, disabled: bool)
fn set_control_rate(&self, control_rate: ClockTime)
fn set_name(&self, name: &str) -> Result<(), BoolError>
fn set_parent<P>(&self, parent: &P) -> Result<(), BoolError>
fn suggest_next_sync(&self) -> ClockTime
fn sync_values(&self, timestamp: ClockTime) -> Result<(), BoolError>
fn unparent(&self)
fn connect_property_name_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_parent_notify<F>(&self, f: F) -> SignalHandlerId
Source§impl<O> GstObjectExtManual for O
impl<O> GstObjectExtManual for O
Source§impl<T> ObjectBase for T
impl<T> ObjectBase for T
fn parent_constructed(&self)
Source§impl<T> ObjectExt for T
impl<T> ObjectExt for T
fn get_type(&self) -> Type
fn set_property<'a, N>( &self, property_name: N, value: &dyn ToValue, ) -> Result<(), BoolError>
fn get_property<'a, N>(&self, property_name: N) -> Result<Value, BoolError>
fn block_signal(&self, handler_id: &SignalHandlerId)
fn unblock_signal(&self, handler_id: &SignalHandlerId)
fn stop_signal_emission(&self, signal_name: &str)
fn disconnect(&self, handler_id: SignalHandlerId)
fn connect_notify<'a, P, F>(&self, name: P, f: F) -> SignalHandlerId
fn notify<'a, N>(&self, property_name: N)
fn notify_by_pspec(&self, pspec: &ParamSpec)
fn has_property<'a, N>( &self, property_name: N, type_: Option<Type>, ) -> Result<(), BoolError>
fn get_property_type<'a, N>(&self, property_name: N) -> Option<Type>
fn find_property<'a, N>(&self, property_name: N) -> Option<ParamSpec>
fn list_properties(&self) -> Vec<ParamSpec>
fn connect<'a, N, F>( &self, signal_name: N, after: bool, callback: F, ) -> Result<SignalHandlerId, BoolError>
fn emit<'a, N>( &self, signal_name: N, args: &[&dyn ToValue], ) -> Result<Option<Value>, BoolError>
fn downgrade(&self) -> WeakRef<T>
fn bind_property<'a, O, N, M>( &'a self, source_property: N, target: &'a O, target_property: M, ) -> BindingBuilder<'a, T, O>
fn ref_count(&self) -> u32
Source§impl<O> PipelineExt for O
impl<O> PipelineExt for O
fn auto_clock(&self)
fn get_auto_flush_bus(&self) -> bool
fn get_delay(&self) -> ClockTime
fn get_latency(&self) -> ClockTime
fn get_pipeline_clock(&self) -> Option<Clock>
fn set_auto_flush_bus(&self, auto_flush: bool)
fn set_delay(&self, delay: ClockTime)
fn set_latency(&self, latency: ClockTime)
fn use_clock<'a, P, Q>(&self, clock: Q)
fn connect_property_auto_flush_bus_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_delay_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_latency_notify<F>(&self, f: F) -> SignalHandlerId
Source§impl<T> ToSendValue for T
impl<T> ToSendValue for T
Source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue clone of self.