[−]Struct gst_plugin::base_src::BaseSrc
Trait Implementations
impl Clone for BaseSrc
impl Clone for BaseSrcfn clone(&self) -> BaseSrc
fn clone(&self) -> BaseSrcReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Hash for BaseSrc
impl Hash for BaseSrcfn hash<__H: Hasher>(&self, state: &mut __H)
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, Feeds a slice of this type into the given [Hasher]. Read more
impl Ord for BaseSrc
impl Ord for BaseSrcfn cmp(&self, other: &BaseSrc) -> Ordering
fn cmp(&self, other: &BaseSrc) -> OrderingThis method returns an Ordering between self and other. Read more
fn max(self, other: Self) -> Self1.21.0[src]
fn max(self, other: Self) -> SelfCompares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self1.21.0[src]
fn min(self, other: Self) -> SelfCompares and returns the minimum of two values. Read more
impl StaticType for BaseSrc
impl StaticType for BaseSrcfn static_type() -> Type
fn static_type() -> TypeReturns the type identifier of Self.
impl<T: IsA<Object>> PartialEq<T> for BaseSrc
impl<T: IsA<Object>> PartialEq<T> for BaseSrcfn eq(&self, other: &T) -> bool
fn eq(&self, other: &T) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=.
impl Eq for BaseSrc
impl Eq for BaseSrcimpl<T: IsA<Object>> PartialOrd<T> for BaseSrc
impl<T: IsA<Object>> PartialOrd<T> for BaseSrcfn partial_cmp(&self, other: &T) -> Option<Ordering>
fn partial_cmp(&self, other: &T) -> Option<Ordering>This method returns an ordering between self and other values if one exists. Read more
#[must_use]
fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn lt(&self, other: &Rhs) -> boolThis method tests less than (for self and other) and is used by the < operator. Read more
#[must_use]
fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> boolThis method tests less than or equal to (for self and other) and is used by the <= operator. Read more
#[must_use]
fn gt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> boolThis method tests greater than (for self and other) and is used by the > operator. Read more
#[must_use]
fn ge(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> boolThis method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Debug for BaseSrc
impl Debug for BaseSrcimpl IsA<BaseSrc> for BaseSrc
impl IsA<BaseSrc> for BaseSrcimpl IsA<Element> for BaseSrc
impl IsA<Element> for BaseSrcimpl IsA<Object> for BaseSrc
impl IsA<Object> for BaseSrcimpl IsA<Object> for BaseSrc
impl IsA<Object> for BaseSrcimpl BaseSrcClassExt<BaseSrc> for BaseSrcClass[src]
impl BaseSrcClassExt<BaseSrc> for BaseSrcClassfn override_vfuncs(&mut self, _: &ClassInitToken)[src]
fn override_vfuncs(&mut self, _: &ClassInitToken)impl ElementClassExt<BaseSrc> for BaseSrcClass[src]
impl ElementClassExt<BaseSrc> for BaseSrcClassfn add_pad_template(&mut self, pad_template: PadTemplate)[src]
fn add_pad_template(&mut self, pad_template: PadTemplate)fn set_metadata(
&mut self,
long_name: &str,
classification: &str,
description: &str,
author: &str
)[src]
fn set_metadata(
&mut self,
long_name: &str,
classification: &str,
description: &str,
author: &str
)fn override_vfuncs(&mut self, _: &ClassInitToken)[src]
fn override_vfuncs(&mut self, _: &ClassInitToken)impl ObjectClassExt<BaseSrc> for BaseSrcClass[src]
impl ObjectClassExt<BaseSrc> for BaseSrcClassfn override_vfuncs(&mut self, &ClassInitToken)
fn override_vfuncs(&mut self, &ClassInitToken)fn install_properties(&mut self, properties: &[Property])
fn install_properties(&mut self, properties: &[Property])fn add_signal(&mut self, name: &str, arg_types: &[Type], ret_type: Type)
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
) where
F: Fn(&mut Value, &Value) -> bool + Send + Sync + 'static,
fn add_signal_with_accumulator<F>(
&mut self,
name: &str,
arg_types: &[Type],
ret_type: Type,
accumulator: F
) where
F: Fn(&mut Value, &Value) -> bool + Send + Sync + 'static, fn add_action_signal<F>(
&mut self,
name: &str,
arg_types: &[Type],
ret_type: Type,
handler: F
) where
F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,
fn add_action_signal<F>(
&mut self,
name: &str,
arg_types: &[Type],
ret_type: Type,
handler: F
) where
F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static, impl Send for BaseSrc[src]
impl Send for BaseSrcimpl Sync for BaseSrc[src]
impl Sync for BaseSrcimpl ObjectType for BaseSrc[src]
impl ObjectType for BaseSrcconst NAME: &'static str[src]
type ParentType = BaseSrc
type ImplType = Box<BaseSrcImpl<Self>>
type InstanceStructType = ElementInstanceStruct<Self>
fn class_init(token: &ClassInitToken, klass: &mut BaseSrcClass)[src]
fn class_init(token: &ClassInitToken, klass: &mut BaseSrcClass)unsafe fn get_instance(&self) -> *mut Self::InstanceStructType
unsafe fn get_instance(&self) -> *mut Self::InstanceStructTypefn get_impl(&self) -> &Self::ImplType
fn get_impl(&self) -> &Self::ImplTypeunsafe fn get_class(&self) -> *const ClassStruct<Self>
unsafe fn get_class(&self) -> *const ClassStruct<Self>Blanket Implementations
impl<T> ElementBase for T where
T: IsA<Element> + ObjectType,
<T as ObjectType>::InstanceStructType: PanicPoison, [src]
impl<T> ElementBase for T where
T: IsA<Element> + ObjectType,
<T as ObjectType>::InstanceStructType: PanicPoison, fn parent_change_state(&self, transition: StateChange) -> StateChangeReturn[src]
fn parent_change_state(&self, transition: StateChange) -> StateChangeReturnfn parent_send_event(&self, event: Event) -> bool[src]
fn parent_send_event(&self, event: Event) -> boolfn parent_query(&self, query: &mut QueryRef) -> bool[src]
fn parent_query(&self, query: &mut QueryRef) -> boolfn parent_set_context(&self, context: &Context)[src]
fn parent_set_context(&self, context: &Context)fn catch_panic<T, F: FnOnce(&Self) -> T, G: FnOnce() -> T>(
&self,
fallback: G,
f: F
) -> T[src]
fn catch_panic<T, F: FnOnce(&Self) -> T, G: FnOnce() -> T>(
&self,
fallback: G,
f: F
) -> Timpl<T> BaseSrcBase for T where
T: IsA<Element> + IsA<BaseSrc> + ObjectType, [src]
impl<T> BaseSrcBase for T where
T: IsA<Element> + IsA<BaseSrc> + ObjectType, fn parent_create(&self, offset: u64, length: u32) -> Result<Buffer, FlowReturn>[src]
fn parent_create(&self, offset: u64, length: u32) -> Result<Buffer, FlowReturn>fn parent_do_seek(&self, segment: &mut Segment) -> bool[src]
fn parent_do_seek(&self, segment: &mut Segment) -> boolfn parent_query(&self, query: &mut QueryRef) -> bool[src]
fn parent_query(&self, query: &mut QueryRef) -> boolfn parent_event(&self, event: &Event) -> bool[src]
fn parent_event(&self, event: &Event) -> boolfn parent_get_caps(&self, filter: Option<&CapsRef>) -> Option<Caps>[src]
fn parent_get_caps(&self, filter: Option<&CapsRef>) -> Option<Caps>fn parent_negotiate(&self) -> bool[src]
fn parent_negotiate(&self) -> boolfn parent_set_caps(&self, caps: &CapsRef) -> bool[src]
fn parent_set_caps(&self, caps: &CapsRef) -> boolfn parent_fixate(&self, caps: Caps) -> Caps[src]
fn parent_fixate(&self, caps: Caps) -> Capsimpl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, type Owned = T
fn to_owned(&self) -> T[src]
fn to_owned(&self) -> TCreates owned data from borrowed data, usually by cloning. Read more
fn clone_into(&self, target: &mut T)[src]
fn clone_into(&self, target: &mut T)🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> From for T[src]
impl<T> From for Timpl<T, U> Into for T where
U: From<T>, [src]
impl<T, U> Into for T where
U: From<T>, impl<T, U> TryFrom for T where
T: From<U>, [src]
impl<T, U> TryFrom for T where
T: From<U>, type Error = !
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>try_from)Performs the conversion.
impl<T> Borrow for T where
T: ?Sized, [src]
impl<T> Borrow for T where
T: ?Sized, ⓘImportant traits for &'a mut Rfn borrow(&self) -> &T[src]
fn borrow(&self) -> &TImmutably borrows from an owned value. Read more
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
impl<T, U> TryInto for T where
U: TryFrom<T>, type Error = <U as TryFrom<T>>::Error
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>try_from)Performs the conversion.
impl<T> BorrowMut for T where
T: ?Sized, [src]
impl<T> BorrowMut for T where
T: ?Sized, ⓘImportant traits for &'a mut Rfn borrow_mut(&mut self) -> &mut T[src]
fn borrow_mut(&mut self) -> &mut TMutably borrows from an owned value. Read more
impl<T> Any for T where
T: 'static + ?Sized, [src]
impl<T> Any for T where
T: 'static + ?Sized, fn get_type_id(&self) -> TypeId[src]
fn get_type_id(&self) -> TypeId🔬 This is a nightly-only experimental API. (get_type_id)
this method will likely be replaced by an associated static
Gets the TypeId of self. Read more
impl<'a, T> ToGlibContainerFromSlice for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
impl<'a, T> ToGlibContainerFromSlice for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, type Storage = (Option<List>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)
fn to_glib_none_from_slice(
t: &'a [T]
) -> (*const GList, <T as ToGlibContainerFromSlice<'a, *const GList>>::Storage)
fn to_glib_none_from_slice(
t: &'a [T]
) -> (*const GList, <T as ToGlibContainerFromSlice<'a, *const GList>>::Storage)fn to_glib_container_from_slice(
_t: &'a [T]
) -> (*const GList, <T as ToGlibContainerFromSlice<'a, *const GList>>::Storage)
fn to_glib_container_from_slice(
_t: &'a [T]
) -> (*const GList, <T as ToGlibContainerFromSlice<'a, *const GList>>::Storage)fn to_glib_full_from_slice(_t: &[T]) -> *const GList
fn to_glib_full_from_slice(_t: &[T]) -> *const GListimpl<'a, T> ToGlibContainerFromSlice for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
impl<'a, T> ToGlibContainerFromSlice for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, type Storage = (Option<List>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)
fn to_glib_none_from_slice(
t: &'a [T]
) -> (*mut GList, <T as ToGlibContainerFromSlice<'a, *mut GList>>::Storage)
fn to_glib_none_from_slice(
t: &'a [T]
) -> (*mut GList, <T as ToGlibContainerFromSlice<'a, *mut GList>>::Storage)fn to_glib_container_from_slice(
t: &'a [T]
) -> (*mut GList, <T as ToGlibContainerFromSlice<'a, *mut GList>>::Storage)
fn to_glib_container_from_slice(
t: &'a [T]
) -> (*mut GList, <T as ToGlibContainerFromSlice<'a, *mut GList>>::Storage)fn to_glib_full_from_slice(t: &[T]) -> *mut GList
fn to_glib_full_from_slice(t: &[T]) -> *mut GListimpl<'a, T> ToGlibContainerFromSlice for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
impl<'a, T> ToGlibContainerFromSlice for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, type Storage = (Option<Array>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)
fn to_glib_none_from_slice(
t: &'a [T]
) -> (*mut GArray, <T as ToGlibContainerFromSlice<'a, *mut GArray>>::Storage)
fn to_glib_none_from_slice(
t: &'a [T]
) -> (*mut GArray, <T as ToGlibContainerFromSlice<'a, *mut GArray>>::Storage)fn to_glib_container_from_slice(
t: &'a [T]
) -> (*mut GArray, <T as ToGlibContainerFromSlice<'a, *mut GArray>>::Storage)
fn to_glib_container_from_slice(
t: &'a [T]
) -> (*mut GArray, <T as ToGlibContainerFromSlice<'a, *mut GArray>>::Storage)fn to_glib_full_from_slice(t: &[T]) -> *mut GArray
fn to_glib_full_from_slice(t: &[T]) -> *mut GArrayimpl<T> Cast for T where
T: IsA<Object>,
impl<T> Cast for T where
T: IsA<Object>, fn upcast<T>(self) -> T where
Self: IsA<T>,
T: StaticType + UnsafeFrom<ObjectRef> + Wrapper,
fn upcast<T>(self) -> T where
Self: IsA<T>,
T: StaticType + UnsafeFrom<ObjectRef> + Wrapper, Upcasts an object to a superclass or interface T. Read more
ⓘImportant traits for &'a mut Rfn upcast_ref<T>(&self) -> &T where
Self: IsA<T>,
T: StaticType + UnsafeFrom<ObjectRef> + Wrapper,
fn upcast_ref<T>(&self) -> &T where
Self: IsA<T>,
T: StaticType + UnsafeFrom<ObjectRef> + Wrapper, Upcasts an object to a reference of its superclass or interface T. Read more
fn downcast<T>(self) -> Result<T, Self> where
Self: Downcast<T>,
fn downcast<T>(self) -> Result<T, Self> where
Self: Downcast<T>, Tries to downcast to a subclass or interface implementor T. Read more
fn downcast_ref<T>(&self) -> Option<&T> where
Self: Downcast<T>,
fn downcast_ref<T>(&self) -> Option<&T> where
Self: Downcast<T>, Tries to downcast to a reference of its subclass or interface implementor T. Read more
fn is<T>(&self) -> bool where
T: StaticType,
fn is<T>(&self) -> bool where
T: StaticType, Returns true if the object is an instance of (can be cast to) T.
fn dynamic_cast<T>(self) -> Result<T, Self> where
T: StaticType + UnsafeFrom<ObjectRef> + Wrapper,
fn dynamic_cast<T>(self) -> Result<T, Self> where
T: StaticType + UnsafeFrom<ObjectRef> + Wrapper, 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 more
fn dynamic_cast_ref<T>(&self) -> Option<&T> where
T: StaticType + UnsafeFrom<ObjectRef> + Wrapper,
fn dynamic_cast_ref<T>(&self) -> Option<&T> where
T: StaticType + UnsafeFrom<ObjectRef> + Wrapper, 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 more
impl<T> IsA for T where
T: StaticType + Wrapper + Into<ObjectRef> + UnsafeFrom<ObjectRef> + ToGlibPtr<'a, *mut <T as Wrapper>::GlibType>,
impl<T> IsA for T where
T: StaticType + Wrapper + Into<ObjectRef> + UnsafeFrom<ObjectRef> + ToGlibPtr<'a, *mut <T as Wrapper>::GlibType>, impl<Super, Sub> Downcast for Super where
Sub: IsA<Super>,
Super: IsA<Super>,
impl<Super, Sub> Downcast for Super where
Sub: IsA<Super>,
Super: IsA<Super>, fn can_downcast(&self) -> bool
fn can_downcast(&self) -> boolChecks if it's possible to downcast to T. Read more
fn downcast(self) -> Result<Sub, Super>
fn downcast(self) -> Result<Sub, Super>Tries to downcast to T. Read more
fn downcast_ref(&self) -> Option<&Sub>
fn downcast_ref(&self) -> Option<&Sub>Tries to downcast to &T. Read more
unsafe fn downcast_unchecked(self) -> Sub
unsafe fn downcast_unchecked(self) -> SubDowncasts to T unconditionally. Read more
ⓘImportant traits for &'a mut Runsafe fn downcast_ref_unchecked(&self) -> &Sub
unsafe fn downcast_ref_unchecked(&self) -> &SubDowncasts to &T unconditionally. Read more
impl<T> ObjectExt for T where
T: IsA<Object> + SetValue,
impl<T> ObjectExt for T where
T: IsA<Object> + SetValue, fn get_type(&self) -> Type
fn get_type(&self) -> Typefn set_property<'a, N>(
&self,
property_name: N,
value: &ToValue
) -> Result<(), BoolError> where
N: Into<&'a str>,
fn set_property<'a, N>(
&self,
property_name: N,
value: &ToValue
) -> Result<(), BoolError> where
N: Into<&'a str>, fn get_property<'a, N>(&self, property_name: N) -> Result<Value, BoolError> where
N: Into<&'a str>,
fn get_property<'a, N>(&self, property_name: N) -> Result<Value, BoolError> where
N: Into<&'a str>, fn block_signal(&self, handler_id: &SignalHandlerId)
fn block_signal(&self, handler_id: &SignalHandlerId)fn unblock_signal(&self, handler_id: &SignalHandlerId)
fn unblock_signal(&self, handler_id: &SignalHandlerId)fn stop_signal_emission(&self, signal_name: &str)
fn stop_signal_emission(&self, signal_name: &str)fn disconnect(&self, handler_id: SignalHandlerId)
fn disconnect(&self, handler_id: SignalHandlerId)fn connect_notify<'a, P, F>(&self, name: P, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&T, &ParamSpec),
P: Into<Option<&'a str>>,
fn connect_notify<'a, P, F>(&self, name: P, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&T, &ParamSpec),
P: Into<Option<&'a str>>, fn notify<'a, N>(&self, property_name: N) where
N: Into<&'a str>,
fn notify<'a, N>(&self, property_name: N) where
N: Into<&'a str>, fn notify_by_pspec(&self, pspec: &ParamSpec)
fn notify_by_pspec(&self, pspec: &ParamSpec)fn has_property<'a, N>(
&self,
property_name: N,
type_: Option<Type>
) -> Result<(), BoolError> where
N: Into<&'a str>,
fn has_property<'a, N>(
&self,
property_name: N,
type_: Option<Type>
) -> Result<(), BoolError> where
N: Into<&'a str>, fn get_property_type<'a, N>(&self, property_name: N) -> Option<Type> where
N: Into<&'a str>,
fn get_property_type<'a, N>(&self, property_name: N) -> Option<Type> where
N: Into<&'a str>, fn find_property<'a, N>(&self, property_name: N) -> Option<ParamSpec> where
N: Into<&'a str>,
fn find_property<'a, N>(&self, property_name: N) -> Option<ParamSpec> where
N: Into<&'a str>, fn list_properties(&self) -> Vec<ParamSpec>
fn list_properties(&self) -> Vec<ParamSpec>fn connect<'a, N, F>(
&self,
signal_name: N,
after: bool,
callback: F
) -> Result<SignalHandlerId, BoolError> where
F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,
N: Into<&'a str>,
fn connect<'a, N, F>(
&self,
signal_name: N,
after: bool,
callback: F
) -> Result<SignalHandlerId, BoolError> where
F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,
N: Into<&'a str>, fn emit<'a, N>(
&self,
signal_name: N,
args: &[&ToValue]
) -> Result<Option<Value>, BoolError> where
N: Into<&'a str>,
fn emit<'a, N>(
&self,
signal_name: N,
args: &[&ToValue]
) -> Result<Option<Value>, BoolError> where
N: Into<&'a str>, fn downgrade(&self) -> WeakRef<T>
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> where
M: Into<&'a str>,
N: Into<&'a str>,
O: IsA<Object>,
fn bind_property<'a, O, N, M>(
&'a self,
source_property: N,
target: &'a O,
target_property: M
) -> BindingBuilder<'a, T, O> where
M: Into<&'a str>,
N: Into<&'a str>,
O: IsA<Object>, fn ref_count(&self) -> u32
fn ref_count(&self) -> u32impl<T> ToValue for T where
T: SetValue + ?Sized,
impl<T> ToValue for T where
T: SetValue + ?Sized, fn to_value(&self) -> Value
fn to_value(&self) -> ValueReturns a Value clone of self.
fn to_value_type(&self) -> Type
fn to_value_type(&self) -> TypeReturns the type identifer of self. Read more
impl<T> ToSendValue for T where
T: ToValue + SetValue + Send + ?Sized,
impl<T> ToSendValue for T where
T: ToValue + SetValue + Send + ?Sized, fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValueReturns a SendValue clone of self.
impl<O> ElementExt for O where
O: IsA<Element> + IsA<Object>,
impl<O> ElementExt for O where
O: IsA<Element> + IsA<Object>, fn abort_state(&self)
fn abort_state(&self)fn add_pad<P>(&self, pad: &P) -> Result<(), BoolError> where
P: IsA<Pad>,
fn add_pad<P>(&self, pad: &P) -> Result<(), BoolError> where
P: IsA<Pad>, fn change_state(&self, transition: StateChange) -> StateChangeReturn
fn change_state(&self, transition: StateChange) -> StateChangeReturnfn continue_state(&self, ret: StateChangeReturn) -> StateChangeReturn
fn continue_state(&self, ret: StateChangeReturn) -> StateChangeReturnfn create_all_pads(&self)
fn create_all_pads(&self)fn get_base_time(&self) -> ClockTime
fn get_base_time(&self) -> ClockTimefn get_bus(&self) -> Option<Bus>
fn get_bus(&self) -> Option<Bus>fn get_clock(&self) -> Option<Clock>
fn get_clock(&self) -> Option<Clock>fn get_compatible_pad<'a, P, Q>(&self, pad: &P, caps: Q) -> Option<Pad> where
P: IsA<Pad>,
Q: Into<Option<&'a GstRc<CapsRef>>>,
fn get_compatible_pad<'a, P, Q>(&self, pad: &P, caps: Q) -> Option<Pad> where
P: IsA<Pad>,
Q: Into<Option<&'a GstRc<CapsRef>>>, fn get_compatible_pad_template(
&self,
compattempl: &PadTemplate
) -> Option<PadTemplate>
fn get_compatible_pad_template(
&self,
compattempl: &PadTemplate
) -> Option<PadTemplate>fn get_context(&self, context_type: &str) -> Option<GstRc<ContextRef>>
fn get_context(&self, context_type: &str) -> Option<GstRc<ContextRef>>fn get_contexts(&self) -> Vec<GstRc<ContextRef>>
fn get_contexts(&self) -> Vec<GstRc<ContextRef>>fn get_factory(&self) -> Option<ElementFactory>
fn get_factory(&self) -> Option<ElementFactory>fn get_request_pad(&self, name: &str) -> Option<Pad>
fn get_request_pad(&self, name: &str) -> Option<Pad>fn get_start_time(&self) -> ClockTime
fn get_start_time(&self) -> ClockTimefn get_state(&self, timeout: ClockTime) -> (StateChangeReturn, State, State)
fn get_state(&self, timeout: ClockTime) -> (StateChangeReturn, State, State)fn get_static_pad(&self, name: &str) -> Option<Pad>
fn get_static_pad(&self, name: &str) -> Option<Pad>fn is_locked_state(&self) -> bool
fn is_locked_state(&self) -> boolfn link<P>(&self, dest: &P) -> Result<(), BoolError> where
P: IsA<Element>,
fn link<P>(&self, dest: &P) -> Result<(), BoolError> where
P: IsA<Element>, fn link_filtered<'a, P, Q>(&self, dest: &P, filter: Q) -> Result<(), BoolError> where
P: IsA<Element>,
Q: Into<Option<&'a GstRc<CapsRef>>>,
fn link_filtered<'a, P, Q>(&self, dest: &P, filter: Q) -> Result<(), BoolError> where
P: IsA<Element>,
Q: Into<Option<&'a GstRc<CapsRef>>>, fn link_pads<'a, 'b, P, Q, R>(
&self,
srcpadname: P,
dest: &Q,
destpadname: R
) -> Result<(), BoolError> where
P: Into<Option<&'a str>>,
Q: IsA<Element>,
R: Into<Option<&'b str>>,
fn link_pads<'a, 'b, P, Q, R>(
&self,
srcpadname: P,
dest: &Q,
destpadname: R
) -> Result<(), BoolError> where
P: Into<Option<&'a str>>,
Q: IsA<Element>,
R: Into<Option<&'b str>>, fn link_pads_filtered<'a, 'b, 'c, P, Q, R, S>(
&self,
srcpadname: P,
dest: &Q,
destpadname: R,
filter: S
) -> Result<(), BoolError> where
P: Into<Option<&'a str>>,
Q: IsA<Element>,
R: Into<Option<&'b str>>,
S: Into<Option<&'c GstRc<CapsRef>>>,
fn link_pads_filtered<'a, 'b, 'c, P, Q, R, S>(
&self,
srcpadname: P,
dest: &Q,
destpadname: R,
filter: S
) -> Result<(), BoolError> where
P: Into<Option<&'a str>>,
Q: IsA<Element>,
R: Into<Option<&'b str>>,
S: Into<Option<&'c GstRc<CapsRef>>>, fn link_pads_full<'a, 'b, P, Q, R>(
&self,
srcpadname: P,
dest: &Q,
destpadname: R,
flags: PadLinkCheck
) -> Result<(), BoolError> where
P: Into<Option<&'a str>>,
Q: IsA<Element>,
R: Into<Option<&'b str>>,
fn link_pads_full<'a, 'b, P, Q, R>(
&self,
srcpadname: P,
dest: &Q,
destpadname: R,
flags: PadLinkCheck
) -> Result<(), BoolError> where
P: Into<Option<&'a str>>,
Q: IsA<Element>,
R: Into<Option<&'b str>>, fn lost_state(&self)
fn lost_state(&self)fn no_more_pads(&self)
fn no_more_pads(&self)fn post_message(&self, message: &GstRc<MessageRef>) -> Result<(), BoolError>
fn post_message(&self, message: &GstRc<MessageRef>) -> Result<(), BoolError>fn provide_clock(&self) -> Option<Clock>
fn provide_clock(&self) -> Option<Clock>fn release_request_pad<P>(&self, pad: &P) where
P: IsA<Pad>,
fn release_request_pad<P>(&self, pad: &P) where
P: IsA<Pad>, fn remove_pad<P>(&self, pad: &P) -> Result<(), BoolError> where
P: IsA<Pad>,
fn remove_pad<P>(&self, pad: &P) -> Result<(), BoolError> where
P: IsA<Pad>, fn request_pad<'a, 'b, P, Q>(
&self,
templ: &PadTemplate,
name: P,
caps: Q
) -> Option<Pad> where
P: Into<Option<&'a str>>,
Q: Into<Option<&'b GstRc<CapsRef>>>,
fn request_pad<'a, 'b, P, Q>(
&self,
templ: &PadTemplate,
name: P,
caps: Q
) -> Option<Pad> where
P: Into<Option<&'a str>>,
Q: Into<Option<&'b GstRc<CapsRef>>>, fn set_base_time(&self, time: ClockTime)
fn set_base_time(&self, time: ClockTime)fn set_bus<'a, P>(&self, bus: P) where
P: Into<Option<&'a Bus>>,
fn set_bus<'a, P>(&self, bus: P) where
P: Into<Option<&'a Bus>>, fn set_clock<'a, P, Q>(&self, clock: Q) -> Result<(), BoolError> where
P: 'a + IsA<Clock>,
Q: Into<Option<&'a P>>,
fn set_clock<'a, P, Q>(&self, clock: Q) -> Result<(), BoolError> where
P: 'a + IsA<Clock>,
Q: Into<Option<&'a P>>, fn set_context(&self, context: &GstRc<ContextRef>)
fn set_context(&self, context: &GstRc<ContextRef>)fn set_locked_state(&self, locked_state: bool) -> bool
fn set_locked_state(&self, locked_state: bool) -> boolfn set_start_time(&self, time: ClockTime)
fn set_start_time(&self, time: ClockTime)fn set_state(&self, state: State) -> StateChangeReturn
fn set_state(&self, state: State) -> StateChangeReturnfn sync_state_with_parent(&self) -> Result<(), BoolError>
fn sync_state_with_parent(&self) -> Result<(), BoolError>fn unlink<P>(&self, dest: &P) where
P: IsA<Element>,
fn unlink<P>(&self, dest: &P) where
P: IsA<Element>, fn unlink_pads<P>(&self, srcpadname: &str, dest: &P, destpadname: &str) where
P: IsA<Element>,
fn unlink_pads<P>(&self, srcpadname: &str, dest: &P, destpadname: &str) where
P: IsA<Element>, fn connect_no_more_pads<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&O),
fn connect_no_more_pads<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&O), fn connect_pad_added<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&O, &Pad),
fn connect_pad_added<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&O, &Pad), fn connect_pad_removed<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&O, &Pad),
fn connect_pad_removed<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&O, &Pad), impl<O> GstObjectExt for O where
O: IsA<Object> + IsA<Object>,
impl<O> GstObjectExt for O where
O: IsA<Object> + IsA<Object>, fn default_error<'a, P>(&self, error: &Error, debug: P) where
P: Into<Option<&'a str>>,
fn default_error<'a, P>(&self, error: &Error, debug: P) where
P: Into<Option<&'a str>>, fn get_control_rate(&self) -> ClockTime
fn get_control_rate(&self) -> ClockTimefn get_name(&self) -> String
fn get_name(&self) -> Stringfn get_parent(&self) -> Option<Object>
fn get_parent(&self) -> Option<Object>fn get_path_string(&self) -> String
fn get_path_string(&self) -> Stringfn has_active_control_bindings(&self) -> bool
fn has_active_control_bindings(&self) -> boolfn has_ancestor<P>(&self, ancestor: &P) -> bool where
P: IsA<Object>,
fn has_ancestor<P>(&self, ancestor: &P) -> bool where
P: IsA<Object>, fn has_as_ancestor<P>(&self, ancestor: &P) -> bool where
P: IsA<Object>,
fn has_as_ancestor<P>(&self, ancestor: &P) -> bool where
P: IsA<Object>, fn has_as_parent<P>(&self, parent: &P) -> bool where
P: IsA<Object>,
fn has_as_parent<P>(&self, parent: &P) -> bool where
P: IsA<Object>, fn set_control_binding_disabled(&self, property_name: &str, disabled: bool)
fn set_control_binding_disabled(&self, property_name: &str, disabled: bool)fn set_control_bindings_disabled(&self, disabled: bool)
fn set_control_bindings_disabled(&self, disabled: bool)fn set_control_rate(&self, control_rate: ClockTime)
fn set_control_rate(&self, control_rate: ClockTime)fn set_name(&self, name: &str) -> Result<(), BoolError>
fn set_name(&self, name: &str) -> Result<(), BoolError>fn set_parent<P>(&self, parent: &P) -> Result<(), BoolError> where
P: IsA<Object>,
fn set_parent<P>(&self, parent: &P) -> Result<(), BoolError> where
P: IsA<Object>, fn suggest_next_sync(&self) -> ClockTime
fn suggest_next_sync(&self) -> ClockTimefn sync_values(&self, timestamp: ClockTime) -> Result<(), BoolError>
fn sync_values(&self, timestamp: ClockTime) -> Result<(), BoolError>fn unparent(&self)
fn unparent(&self)fn connect_property_name_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&O),
fn connect_property_name_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&O), fn connect_property_parent_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&O),
fn connect_property_parent_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&O), impl<O> ElementExtManual for O where
O: IsA<Element>,
impl<O> ElementExtManual for O where
O: IsA<Element>, fn query(&self, query: &mut QueryRef) -> bool
fn query(&self, query: &mut QueryRef) -> boolfn send_event(&self, event: GstRc<EventRef>) -> bool
fn send_event(&self, event: GstRc<EventRef>) -> boolfn get_metadata<'a>(&self, key: &str) -> Option<&'a str>
fn get_metadata<'a>(&self, key: &str) -> Option<&'a str>fn get_pad_template(&self, name: &str) -> Option<PadTemplate>
fn get_pad_template(&self, name: &str) -> Option<PadTemplate>fn get_pad_template_list(&self) -> Vec<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 message_full<T>(
&self,
type_: ElementMessageType,
code: T,
message: Option<&str>,
debug: Option<&str>,
file: &str,
function: &str,
line: u32
) where
T: MessageErrorDomain, fn message_full_with_details<T>(
&self,
type_: ElementMessageType,
code: T,
message: Option<&str>,
debug: Option<&str>,
file: &str,
function: &str,
line: u32,
structure: Structure
) where
T: MessageErrorDomain,
fn message_full_with_details<T>(
&self,
type_: ElementMessageType,
code: T,
message: Option<&str>,
debug: Option<&str>,
file: &str,
function: &str,
line: u32,
structure: Structure
) where
T: MessageErrorDomain, fn post_error_message(&self, msg: &ErrorMessage)
fn post_error_message(&self, msg: &ErrorMessage)fn iterate_pads(&self) -> Iterator<Pad>
fn iterate_pads(&self) -> Iterator<Pad>fn iterate_sink_pads(&self) -> Iterator<Pad>
fn iterate_sink_pads(&self) -> Iterator<Pad>fn iterate_src_pads(&self) -> Iterator<Pad>
fn iterate_src_pads(&self) -> Iterator<Pad>fn get_pads(&self) -> Vec<Pad>
fn get_pads(&self) -> Vec<Pad>fn get_sink_pads(&self) -> Vec<Pad>
fn get_sink_pads(&self) -> Vec<Pad>fn get_src_pads(&self) -> Vec<Pad>
fn get_src_pads(&self) -> Vec<Pad>fn add_property_deep_notify_watch<'a, P>(
&self,
property_name: P,
include_value: bool
) -> NotifyWatchId where
P: Into<Option<&'a str>>,
fn add_property_deep_notify_watch<'a, P>(
&self,
property_name: P,
include_value: bool
) -> NotifyWatchId where
P: Into<Option<&'a str>>, fn add_property_notify_watch<'a, P>(
&self,
property_name: P,
include_value: bool
) -> NotifyWatchId where
P: Into<Option<&'a str>>,
fn add_property_notify_watch<'a, P>(
&self,
property_name: P,
include_value: bool
) -> NotifyWatchId where
P: Into<Option<&'a str>>, fn remove_property_notify_watch(&self, watch_id: NotifyWatchId)
fn remove_property_notify_watch(&self, watch_id: NotifyWatchId)fn query_convert<V, U>(&self, src_val: V) -> Option<U> where
U: SpecificFormattedValue,
V: Into<GenericFormattedValue>,
fn query_convert<V, U>(&self, src_val: V) -> Option<U> where
U: SpecificFormattedValue,
V: Into<GenericFormattedValue>, fn query_convert_generic<V>(
&self,
src_val: V,
dest_format: Format
) -> Option<GenericFormattedValue> where
V: Into<GenericFormattedValue>,
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<T>(&self) -> Option<T> where
T: SpecificFormattedValue, fn query_duration_generic(
&self,
format: Format
) -> Option<GenericFormattedValue>
fn query_duration_generic(
&self,
format: Format
) -> Option<GenericFormattedValue>fn query_position<T>(&self) -> Option<T> where
T: SpecificFormattedValue,
fn query_position<T>(&self) -> Option<T> where
T: SpecificFormattedValue, fn query_position_generic(
&self,
format: Format
) -> Option<GenericFormattedValue>
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<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>,
fn seek_simple<V>(
&self,
seek_flags: SeekFlags,
seek_pos: V
) -> Result<(), BoolError> where
V: Into<GenericFormattedValue>, fn call_async<F>(&self, func: F) where
F: FnOnce(&O) + Send + 'static,
fn call_async<F>(&self, func: F) where
F: FnOnce(&O) + Send + 'static, impl<O> GObjectExtManualGst for O where
O: IsA<Object>,
impl<O> GObjectExtManualGst for O where
O: IsA<Object>, fn set_property_from_str(&self, name: &str, value: &str)
fn set_property_from_str(&self, name: &str, value: &str)impl<O> GstObjectExtManual for O where
O: IsA<Object> + IsA<Object> + SetValue,
impl<O> GstObjectExtManual for O where
O: IsA<Object> + IsA<Object> + SetValue, fn connect_deep_notify<'a, P, F>(&self, name: P, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&O, &Object, &ParamSpec),
P: Into<Option<&'a str>>,
fn connect_deep_notify<'a, P, F>(&self, name: P, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&O, &Object, &ParamSpec),
P: Into<Option<&'a str>>, impl<O> BaseSrcExt for O where
O: IsA<BaseSrc> + IsA<Object>,
impl<O> BaseSrcExt for O where
O: IsA<BaseSrc> + IsA<Object>, fn get_blocksize(&self) -> u32
fn get_blocksize(&self) -> u32fn get_buffer_pool(&self) -> Option<BufferPool>
fn get_buffer_pool(&self) -> Option<BufferPool>fn get_do_timestamp(&self) -> bool
fn get_do_timestamp(&self) -> boolfn is_async(&self) -> bool
fn is_async(&self) -> boolfn is_live(&self) -> bool
fn is_live(&self) -> boolfn new_seamless_segment(&self, start: i64, stop: i64, time: i64) -> bool
fn new_seamless_segment(&self, start: i64, stop: i64, time: i64) -> boolfn query_latency(&self) -> Option<(bool, ClockTime, ClockTime)>
fn query_latency(&self) -> Option<(bool, ClockTime, ClockTime)>fn set_async(&self, async: bool)
fn set_async(&self, async: bool)fn set_automatic_eos(&self, automatic_eos: bool)
fn set_automatic_eos(&self, automatic_eos: bool)fn set_blocksize(&self, blocksize: u32)
fn set_blocksize(&self, blocksize: u32)fn set_caps(&self, caps: &GstRc<CapsRef>) -> bool
fn set_caps(&self, caps: &GstRc<CapsRef>) -> boolfn set_do_timestamp(&self, timestamp: bool)
fn set_do_timestamp(&self, timestamp: bool)fn set_dynamic_size(&self, dynamic: bool)
fn set_dynamic_size(&self, dynamic: bool)fn set_format(&self, format: Format)
fn set_format(&self, format: Format)fn set_live(&self, live: bool)
fn set_live(&self, live: bool)fn start_complete(&self, ret: FlowReturn)
fn start_complete(&self, ret: FlowReturn)fn start_wait(&self) -> FlowReturn
fn start_wait(&self) -> FlowReturnfn wait_playing(&self) -> FlowReturn
fn wait_playing(&self) -> FlowReturnfn get_property_num_buffers(&self) -> i32
fn get_property_num_buffers(&self) -> i32fn set_property_num_buffers(&self, num_buffers: i32)
fn set_property_num_buffers(&self, num_buffers: i32)fn get_property_typefind(&self) -> bool
fn get_property_typefind(&self) -> boolfn set_property_typefind(&self, typefind: bool)
fn set_property_typefind(&self, typefind: bool)fn connect_property_blocksize_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&O),
fn connect_property_blocksize_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&O), fn connect_property_do_timestamp_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&O),
fn connect_property_do_timestamp_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&O), fn connect_property_num_buffers_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&O),
fn connect_property_num_buffers_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&O), fn connect_property_typefind_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&O),
fn connect_property_typefind_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&O), impl<O> BaseSrcExtManual for O where
O: IsA<BaseSrc>,
impl<O> BaseSrcExtManual for O where
O: IsA<BaseSrc>, fn get_segment(&self) -> FormattedSegment<GenericFormattedValue>
fn get_segment(&self) -> FormattedSegment<GenericFormattedValue>impl<T> AnyImpl for T where
T: Any,
impl<T> AnyImpl for T where
T: Any, fn get_type_id(&self) -> TypeId
fn get_type_id(&self) -> TypeIdimpl<T> ObjectBase for T where
T: ObjectType + IsA<Object>,
impl<T> ObjectBase for T where
T: ObjectType + IsA<Object>, fn parent_constructed(&self)
fn parent_constructed(&self)