pub struct GhostPad(/* private fields */);Trait Implementations§
Source§impl GhostPadClassExt<GhostPad> for GhostPadClass
impl GhostPadClassExt<GhostPad> for GhostPadClass
fn override_vfuncs(&mut self, _: &ClassInitToken)
Source§impl ObjectClassExt<GhostPad> for GhostPadClass
impl ObjectClassExt<GhostPad> for GhostPadClass
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 GhostPad
impl ObjectType for GhostPad
const NAME: &'static str = "RsGhostPad"
type ParentType = GhostPad
type ImplType = Box<dyn GhostPadImpl<GhostPad>>
type InstanceStructType = InstanceStruct<GhostPad>
fn class_init(token: &ClassInitToken, klass: &mut GhostPadClass)
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 GhostPad
impl Ord for GhostPad
Source§impl PadClassExt<GhostPad> for GhostPadClass
impl PadClassExt<GhostPad> for GhostPadClass
fn override_vfuncs(&mut self, _: &ClassInitToken)
Source§impl<T: IsA<Object>> PartialOrd<T> for GhostPad
impl<T: IsA<Object>> PartialOrd<T> for GhostPad
Source§impl StaticType for GhostPad
impl StaticType for GhostPad
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self.impl Eq for GhostPad
impl IsA<GhostPad> for GhostPad
impl IsA<Object> for GhostPad
impl IsA<Object> for GhostPad
impl IsA<Pad> for GhostPad
impl IsA<ProxyPad> for GhostPad
impl Send for GhostPad
impl Sync for GhostPad
Auto Trait Implementations§
impl Freeze for GhostPad
impl !RefUnwindSafe for GhostPad
impl Unpin for GhostPad
impl !UnwindSafe for GhostPad
Blanket Implementations§
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<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> 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> GhostPadExt for O
impl<O> GhostPadExt for O
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<T> PadBase for T
impl<T> PadBase for T
fn parent_linked(&self, peer: &Pad)
fn parent_unlinked(&self, peer: &Pad)
Source§impl<O> PadExt for O
impl<O> PadExt for O
fn activate_mode(&self, mode: PadMode, active: bool) -> Result<(), BoolError>
fn can_link<P>(&self, sinkpad: &P) -> bool
fn check_reconfigure(&self) -> bool
fn create_stream_id<'a, P, Q>(&self, parent: &P, stream_id: Q) -> Option<String>
fn get_allowed_caps(&self) -> Option<GstRc<CapsRef>>
fn get_current_caps(&self) -> Option<GstRc<CapsRef>>
fn get_direction(&self) -> PadDirection
fn get_last_flow_return(&self) -> FlowReturn
fn get_offset(&self) -> i64
fn get_pad_template(&self) -> Option<PadTemplate>
fn get_pad_template_caps(&self) -> Option<GstRc<CapsRef>>
fn get_parent_element(&self) -> Option<Element>
fn get_peer(&self) -> Option<Pad>
fn get_sticky_event( &self, event_type: EventType, idx: u32, ) -> Option<GstRc<EventRef>>
fn get_stream_id(&self) -> Option<String>
fn has_current_caps(&self) -> bool
fn is_active(&self) -> bool
fn is_blocked(&self) -> bool
fn is_blocking(&self) -> bool
fn is_linked(&self) -> bool
fn link<P>(&self, sinkpad: &P) -> PadLinkReturn
fn link_full<P>(&self, sinkpad: &P, flags: PadLinkCheck) -> PadLinkReturn
fn mark_reconfigure(&self)
fn needs_reconfigure(&self) -> bool
fn pause_task(&self) -> Result<(), BoolError>
fn peer_query_accept_caps(&self, caps: &GstRc<CapsRef>) -> bool
fn peer_query_caps<'a, P>(&self, filter: P) -> Option<GstRc<CapsRef>>
fn query_accept_caps(&self, caps: &GstRc<CapsRef>) -> bool
fn query_caps<'a, P>(&self, filter: P) -> Option<GstRc<CapsRef>>
fn set_active(&self, active: bool) -> Result<(), BoolError>
fn set_offset(&self, offset: i64)
fn stop_task(&self) -> Result<(), BoolError>
fn store_sticky_event(&self, event: &GstRc<EventRef>) -> FlowReturn
fn unlink<P>(&self, sinkpad: &P) -> Result<(), BoolError>
fn use_fixed_caps(&self)
fn get_property_caps(&self) -> Option<GstRc<CapsRef>>
fn get_property_template(&self) -> Option<PadTemplate>
fn set_property_template(&self, template: Option<&PadTemplate>)
fn connect_linked<F>(&self, f: F) -> SignalHandlerId
fn connect_unlinked<F>(&self, f: F) -> SignalHandlerId
fn connect_property_caps_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_direction_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_offset_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_template_notify<F>(&self, f: F) -> SignalHandlerId
Source§impl<O> PadExtManual for O
impl<O> PadExtManual for O
fn add_probe<F>(&self, mask: PadProbeType, func: F) -> Option<PadProbeId>
fn remove_probe(&self, id: PadProbeId)
fn chain(&self, buffer: GstRc<BufferRef>) -> FlowReturn
fn push(&self, buffer: GstRc<BufferRef>) -> FlowReturn
fn chain_list(&self, list: GstRc<BufferListRef>) -> FlowReturn
fn push_list(&self, list: GstRc<BufferListRef>) -> FlowReturn
fn get_range( &self, offset: u64, size: u32, ) -> Result<GstRc<BufferRef>, FlowReturn>
fn pull_range( &self, offset: u64, size: u32, ) -> Result<GstRc<BufferRef>, FlowReturn>
fn query(&self, query: &mut QueryRef) -> bool
fn peer_query(&self, query: &mut QueryRef) -> bool
fn query_default<'a, P, Q>(&self, parent: Q, query: &mut QueryRef) -> bool
fn proxy_query_accept_caps(&self, query: &mut QueryRef) -> bool
fn proxy_query_caps(&self, query: &mut QueryRef) -> bool
fn event_default<'a, P, Q>(&self, parent: Q, event: GstRc<EventRef>) -> bool
fn push_event(&self, event: GstRc<EventRef>) -> bool
fn send_event(&self, event: GstRc<EventRef>) -> bool
fn iterate_internal_links(&self) -> Iterator<Pad>
fn iterate_internal_links_default<'a, P, Q>(&self, parent: Q) -> Iterator<Pad>
fn stream_lock(&self) -> StreamLock
fn set_activate_function<F>(&self, func: F)
fn set_activatemode_function<F>(&self, func: F)
fn set_chain_function<F>(&self, func: F)
fn set_chain_list_function<F>(&self, func: F)
fn set_event_function<F>(&self, func: F)
fn set_event_full_function<F>(&self, func: F)
fn set_getrange_function<F>(&self, func: F)
fn set_iterate_internal_links_function<F>(&self, func: F)
fn set_link_function<F>(&self, func: F)
fn set_query_function<F>(&self, func: F)
fn set_unlink_function<F>(&self, func: F)
fn start_task<F>(&self, func: F) -> Result<(), BoolError>
fn peer_query_convert<V, U>(&self, src_val: V) -> Option<U>
fn peer_query_convert_generic<V>(
&self,
src_val: V,
dest_format: Format,
) -> Option<GenericFormattedValue>where
V: Into<GenericFormattedValue>,
fn peer_query_duration<T>(&self) -> Option<T>where
T: SpecificFormattedValue,
fn peer_query_duration_generic( &self, format: Format, ) -> Option<GenericFormattedValue>
fn peer_query_position<T>(&self) -> Option<T>where
T: SpecificFormattedValue,
fn peer_query_position_generic( &self, format: Format, ) -> Option<GenericFormattedValue>
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 get_mode(&self) -> PadMode
fn sticky_events_foreach<F>(&self, func: F)
Source§impl<O> ProxyPadExt for O
impl<O> ProxyPadExt for O
fn get_internal(&self) -> Option<ProxyPad>
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.