Trait gstreamer::prelude::ElementExtManual [−][src]
pub trait ElementExtManual: 'static {}Show methods
fn element_class(&self) -> &Class<Element>; fn current_state(&self) -> State; fn pending_state(&self) -> State; fn query(&self, query: &mut QueryRef) -> bool; fn send_event(&self, event: Event) -> bool; fn metadata<'a>(&self, key: &str) -> Option<&'a str>; fn pad_template(&self, name: &str) -> Option<PadTemplate>; fn pad_template_list(&self) -> Vec<PadTemplate>; fn message_full<T: MessageErrorDomain>(
&self,
type_: ElementMessageType,
code: T,
message: Option<&str>,
debug: Option<&str>,
file: &str,
function: &str,
line: u32
); fn set_element_flags(&self, flags: ElementFlags); fn unset_element_flags(&self, flags: ElementFlags); fn element_flags(&self) -> ElementFlags; fn message_full_with_details<T: MessageErrorDomain>(
&self,
type_: ElementMessageType,
code: T,
message: Option<&str>,
debug: Option<&str>,
file: &str,
function: &str,
line: u32,
structure: Structure
); fn post_message(&self, message: Message) -> Result<(), BoolError>; 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 pads(&self) -> Vec<Pad>; fn sink_pads(&self) -> Vec<Pad>; fn src_pads(&self) -> Vec<Pad>; fn num_pads(&self) -> u16; fn num_sink_pads(&self) -> u16; fn num_src_pads(&self) -> u16; fn add_property_deep_notify_watch(
&self,
property_name: Option<&str>,
include_value: bool
) -> NotifyWatchId; fn add_property_notify_watch(
&self,
property_name: Option<&str>,
include_value: bool
) -> NotifyWatchId; fn remove_property_notify_watch(&self, watch_id: NotifyWatchId); fn query_convert<V: Into<GenericFormattedValue>, U: SpecificFormattedValue>(
&self,
src_val: V
) -> Option<U>; fn query_convert_generic<V: Into<GenericFormattedValue>>(
&self,
src_val: V,
dest_format: Format
) -> Option<GenericFormattedValue>; fn query_duration<T: SpecificFormattedValue>(&self) -> Option<T>; fn query_duration_generic(
&self,
format: Format
) -> Option<GenericFormattedValue>; fn query_position<T: SpecificFormattedValue>(&self) -> Option<T>; fn query_position_generic(
&self,
format: Format
) -> Option<GenericFormattedValue>; fn seek<V: Into<GenericFormattedValue>>(
&self,
rate: f64,
flags: SeekFlags,
start_type: SeekType,
start: V,
stop_type: SeekType,
stop: V
) -> Result<(), BoolError>; fn seek_simple<V: Into<GenericFormattedValue>>(
&self,
seek_flags: SeekFlags,
seek_pos: V
) -> Result<(), BoolError>; fn call_async<F>(&self, func: F)
where
F: FnOnce(&Self) + Send + 'static; fn call_async_future<F, T>(
&self,
func: F
) -> Pin<Box<dyn Future<Output = T> + Send + 'static>>
where
F: FnOnce(&Self) -> T + Send + 'static,
T: Send + 'static; fn current_running_time(&self) -> ClockTime; fn current_clock_time(&self) -> ClockTime;
Required methods
fn element_class(&self) -> &Class<Element>
[src]
fn current_state(&self) -> State
[src]
fn pending_state(&self) -> State
[src]
fn query(&self, query: &mut QueryRef) -> bool
[src]
fn send_event(&self, event: Event) -> bool
[src]
fn metadata<'a>(&self, key: &str) -> Option<&'a str>
[src]
fn pad_template(&self, name: &str) -> Option<PadTemplate>
[src]
fn pad_template_list(&self) -> Vec<PadTemplate>
[src]
fn message_full<T: MessageErrorDomain>(
&self,
type_: ElementMessageType,
code: T,
message: Option<&str>,
debug: Option<&str>,
file: &str,
function: &str,
line: u32
)
[src]
&self,
type_: ElementMessageType,
code: T,
message: Option<&str>,
debug: Option<&str>,
file: &str,
function: &str,
line: u32
)
fn set_element_flags(&self, flags: ElementFlags)
[src]
fn unset_element_flags(&self, flags: ElementFlags)
[src]
fn element_flags(&self) -> ElementFlags
[src]
fn message_full_with_details<T: MessageErrorDomain>(
&self,
type_: ElementMessageType,
code: T,
message: Option<&str>,
debug: Option<&str>,
file: &str,
function: &str,
line: u32,
structure: Structure
)
[src]
&self,
type_: ElementMessageType,
code: T,
message: Option<&str>,
debug: Option<&str>,
file: &str,
function: &str,
line: u32,
structure: Structure
)
This is supported on crate feature
v1_10
only.fn post_message(&self, message: Message) -> Result<(), BoolError>
[src]
fn post_error_message(&self, msg: ErrorMessage)
[src]
fn iterate_pads(&self) -> Iterator<Pad>
[src]
fn iterate_sink_pads(&self) -> Iterator<Pad>
[src]
fn iterate_src_pads(&self) -> Iterator<Pad>
[src]
fn pads(&self) -> Vec<Pad>
[src]
fn sink_pads(&self) -> Vec<Pad>
[src]
fn src_pads(&self) -> Vec<Pad>
[src]
fn num_pads(&self) -> u16
[src]
fn num_sink_pads(&self) -> u16
[src]
fn num_src_pads(&self) -> u16
[src]
fn add_property_deep_notify_watch(
&self,
property_name: Option<&str>,
include_value: bool
) -> NotifyWatchId
[src]
&self,
property_name: Option<&str>,
include_value: bool
) -> NotifyWatchId
This is supported on crate feature
v1_10
only.fn add_property_notify_watch(
&self,
property_name: Option<&str>,
include_value: bool
) -> NotifyWatchId
[src]
&self,
property_name: Option<&str>,
include_value: bool
) -> NotifyWatchId
This is supported on crate feature
v1_10
only.fn remove_property_notify_watch(&self, watch_id: NotifyWatchId)
[src]
This is supported on crate feature
v1_10
only.fn query_convert<V: Into<GenericFormattedValue>, U: SpecificFormattedValue>(
&self,
src_val: V
) -> Option<U>
[src]
&self,
src_val: V
) -> Option<U>
fn query_convert_generic<V: Into<GenericFormattedValue>>(
&self,
src_val: V,
dest_format: Format
) -> Option<GenericFormattedValue>
[src]
&self,
src_val: V,
dest_format: Format
) -> Option<GenericFormattedValue>
fn query_duration<T: SpecificFormattedValue>(&self) -> Option<T>
[src]
fn query_duration_generic(
&self,
format: Format
) -> Option<GenericFormattedValue>
[src]
&self,
format: Format
) -> Option<GenericFormattedValue>
fn query_position<T: SpecificFormattedValue>(&self) -> Option<T>
[src]
fn query_position_generic(
&self,
format: Format
) -> Option<GenericFormattedValue>
[src]
&self,
format: Format
) -> Option<GenericFormattedValue>
fn seek<V: Into<GenericFormattedValue>>(
&self,
rate: f64,
flags: SeekFlags,
start_type: SeekType,
start: V,
stop_type: SeekType,
stop: V
) -> Result<(), BoolError>
[src]
&self,
rate: f64,
flags: SeekFlags,
start_type: SeekType,
start: V,
stop_type: SeekType,
stop: V
) -> Result<(), BoolError>
fn seek_simple<V: Into<GenericFormattedValue>>(
&self,
seek_flags: SeekFlags,
seek_pos: V
) -> Result<(), BoolError>
[src]
&self,
seek_flags: SeekFlags,
seek_pos: V
) -> Result<(), BoolError>
fn call_async<F>(&self, func: F) where
F: FnOnce(&Self) + Send + 'static,
[src]
F: FnOnce(&Self) + Send + 'static,
This is supported on crate feature
v1_10
only.fn call_async_future<F, T>(
&self,
func: F
) -> Pin<Box<dyn Future<Output = T> + Send + 'static>> where
F: FnOnce(&Self) -> T + Send + 'static,
T: Send + 'static,
[src]
&self,
func: F
) -> Pin<Box<dyn Future<Output = T> + Send + 'static>> where
F: FnOnce(&Self) -> T + Send + 'static,
T: Send + 'static,
This is supported on crate feature
v1_10
only.fn current_running_time(&self) -> ClockTime
[src]
fn current_clock_time(&self) -> ClockTime
[src]
Implementors
impl<O: IsA<Element>> ElementExtManual for O
[src]
impl<O: IsA<Element>> ElementExtManual for O
[src]fn element_class(&self) -> &Class<Element>
[src]
fn current_state(&self) -> State
[src]
fn pending_state(&self) -> State
[src]
fn query(&self, query: &mut QueryRef) -> bool
[src]
fn send_event(&self, event: Event) -> bool
[src]
fn metadata<'a>(&self, key: &str) -> Option<&'a str>
[src]
fn pad_template(&self, name: &str) -> Option<PadTemplate>
[src]
fn pad_template_list(&self) -> Vec<PadTemplate>
[src]
fn set_element_flags(&self, flags: ElementFlags)
[src]
fn unset_element_flags(&self, flags: ElementFlags)
[src]
fn element_flags(&self) -> ElementFlags
[src]
fn message_full<T: MessageErrorDomain>(
&self,
type_: ElementMessageType,
code: T,
message: Option<&str>,
debug: Option<&str>,
file: &str,
function: &str,
line: u32
)
[src]
&self,
type_: ElementMessageType,
code: T,
message: Option<&str>,
debug: Option<&str>,
file: &str,
function: &str,
line: u32
)
fn message_full_with_details<T: MessageErrorDomain>(
&self,
type_: ElementMessageType,
code: T,
message: Option<&str>,
debug: Option<&str>,
file: &str,
function: &str,
line: u32,
structure: Structure
)
[src]
fn message_full_with_details<T: MessageErrorDomain>(
&self,
type_: ElementMessageType,
code: T,
message: Option<&str>,
debug: Option<&str>,
file: &str,
function: &str,
line: u32,
structure: Structure
)
[src]This is supported on crate feature
v1_10
only.fn post_message(&self, message: Message) -> Result<(), BoolError>
[src]
fn post_error_message(&self, msg: ErrorMessage)
[src]
fn iterate_pads(&self) -> Iterator<Pad>
[src]
fn iterate_sink_pads(&self) -> Iterator<Pad>
[src]
fn iterate_src_pads(&self) -> Iterator<Pad>
[src]
fn pads(&self) -> Vec<Pad>
[src]
fn sink_pads(&self) -> Vec<Pad>
[src]
fn src_pads(&self) -> Vec<Pad>
[src]
fn num_pads(&self) -> u16
[src]
fn num_sink_pads(&self) -> u16
[src]
fn num_src_pads(&self) -> u16
[src]
fn add_property_deep_notify_watch(
&self,
property_name: Option<&str>,
include_value: bool
) -> NotifyWatchId
[src]
fn add_property_deep_notify_watch(
&self,
property_name: Option<&str>,
include_value: bool
) -> NotifyWatchId
[src]This is supported on crate feature
v1_10
only.fn add_property_notify_watch(
&self,
property_name: Option<&str>,
include_value: bool
) -> NotifyWatchId
[src]
fn add_property_notify_watch(
&self,
property_name: Option<&str>,
include_value: bool
) -> NotifyWatchId
[src]This is supported on crate feature
v1_10
only.fn remove_property_notify_watch(&self, watch_id: NotifyWatchId)
[src]
fn remove_property_notify_watch(&self, watch_id: NotifyWatchId)
[src]This is supported on crate feature
v1_10
only.fn query_convert<V: Into<GenericFormattedValue>, U: SpecificFormattedValue>(
&self,
src_val: V
) -> Option<U>
[src]
&self,
src_val: V
) -> Option<U>
fn query_convert_generic<V: Into<GenericFormattedValue>>(
&self,
src_val: V,
dest_format: Format
) -> Option<GenericFormattedValue>
[src]
&self,
src_val: V,
dest_format: Format
) -> Option<GenericFormattedValue>
fn query_duration<T: SpecificFormattedValue>(&self) -> Option<T>
[src]
fn query_duration_generic(
&self,
format: Format
) -> Option<GenericFormattedValue>
[src]
&self,
format: Format
) -> Option<GenericFormattedValue>
fn query_position<T: SpecificFormattedValue>(&self) -> Option<T>
[src]
fn query_position_generic(
&self,
format: Format
) -> Option<GenericFormattedValue>
[src]
&self,
format: Format
) -> Option<GenericFormattedValue>
fn seek<V: Into<GenericFormattedValue>>(
&self,
rate: f64,
flags: SeekFlags,
start_type: SeekType,
start: V,
stop_type: SeekType,
stop: V
) -> Result<(), BoolError>
[src]
&self,
rate: f64,
flags: SeekFlags,
start_type: SeekType,
start: V,
stop_type: SeekType,
stop: V
) -> Result<(), BoolError>
fn seek_simple<V: Into<GenericFormattedValue>>(
&self,
seek_flags: SeekFlags,
seek_pos: V
) -> Result<(), BoolError>
[src]
&self,
seek_flags: SeekFlags,
seek_pos: V
) -> Result<(), BoolError>
fn call_async<F>(&self, func: F) where
F: FnOnce(&Self) + Send + 'static,
[src]
fn call_async<F>(&self, func: F) where
F: FnOnce(&Self) + Send + 'static,
[src]This is supported on crate feature
v1_10
only.fn call_async_future<F, T>(
&self,
func: F
) -> Pin<Box<dyn Future<Output = T> + Send + 'static>> where
F: FnOnce(&Self) -> T + Send + 'static,
T: Send + 'static,
[src]
fn call_async_future<F, T>(
&self,
func: F
) -> Pin<Box<dyn Future<Output = T> + Send + 'static>> where
F: FnOnce(&Self) -> T + Send + 'static,
T: Send + 'static,
[src]This is supported on crate feature
v1_10
only.