[−][src]Trait gstreamer_check::prelude::ElementExt
Required methods
fn abort_state(&self)
fn add_pad<P>(&self, pad: &P) -> Result<(), BoolError> where
P: IsA<Pad>,
P: IsA<Pad>,
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> where
P: IsA<Pad>,
Q: Into<Option<&'a Caps>>,
P: IsA<Pad>,
Q: Into<Option<&'a Caps>>,
fn get_compatible_pad_template(
&self,
compattempl: &PadTemplate
) -> Option<PadTemplate>
&self,
compattempl: &PadTemplate
) -> Option<PadTemplate>
fn get_context(&self, context_type: &str) -> Option<Context>
fn get_contexts(&self) -> Vec<Context>
fn get_factory(&self) -> Option<ElementFactory>
fn get_request_pad(&self, name: &str) -> Option<Pad>
fn get_start_time(&self) -> ClockTime
fn get_static_pad(&self, name: &str) -> Option<Pad>
fn is_locked_state(&self) -> bool
fn link<P>(&self, dest: &P) -> Result<(), BoolError> where
P: IsA<Element>,
P: IsA<Element>,
fn link_filtered<'a, P, Q>(&self, dest: &P, filter: Q) -> Result<(), BoolError> where
P: IsA<Element>,
Q: Into<Option<&'a Caps>>,
P: IsA<Element>,
Q: Into<Option<&'a Caps>>,
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>>,
&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 Caps>>,
&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 Caps>>,
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>>,
&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 no_more_pads(&self)
fn post_message(&self, message: &Message) -> Result<(), BoolError>
fn provide_clock(&self) -> Option<Clock>
fn release_request_pad<P>(&self, pad: &P) where
P: IsA<Pad>,
P: IsA<Pad>,
fn remove_pad<P>(&self, pad: &P) -> Result<(), BoolError> where
P: IsA<Pad>,
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 Caps>>,
&self,
templ: &PadTemplate,
name: P,
caps: Q
) -> Option<Pad> where
P: Into<Option<&'a str>>,
Q: Into<Option<&'b Caps>>,
fn set_base_time(&self, time: ClockTime)
fn set_bus<'a, P>(&self, bus: P) where
P: Into<Option<&'a Bus>>,
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>>,
P: 'a + IsA<Clock>,
Q: Into<Option<&'a P>>,
fn set_context(&self, context: &Context)
fn set_locked_state(&self, locked_state: bool) -> bool
fn set_start_time(&self, time: ClockTime)
fn sync_state_with_parent(&self) -> Result<(), BoolError>
fn unlink<P>(&self, dest: &P) where
P: IsA<Element>,
P: IsA<Element>,
fn unlink_pads<P>(&self, srcpadname: &str, dest: &P, destpadname: &str) where
P: IsA<Element>,
P: IsA<Element>,
fn connect_no_more_pads<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&Self),
F: 'static + Send + Sync + Fn(&Self),
fn connect_pad_added<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&Self, &Pad),
F: 'static + Send + Sync + Fn(&Self, &Pad),
fn connect_pad_removed<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&Self, &Pad),
F: 'static + Send + Sync + Fn(&Self, &Pad),
Implementors
impl<O> ElementExt for O where
O: IsA<Element>,
[src]
O: IsA<Element>,
fn abort_state(&self)
[src]
fn add_pad<P>(&self, pad: &P) -> Result<(), BoolError> where
P: IsA<Pad>,
[src]
P: IsA<Pad>,
fn create_all_pads(&self)
[src]
fn get_base_time(&self) -> ClockTime
[src]
fn get_bus(&self) -> Option<Bus>
[src]
fn get_clock(&self) -> Option<Clock>
[src]
fn get_compatible_pad<'a, P, Q>(&self, pad: &P, caps: Q) -> Option<Pad> where
P: IsA<Pad>,
Q: Into<Option<&'a Caps>>,
[src]
P: IsA<Pad>,
Q: Into<Option<&'a Caps>>,
fn get_compatible_pad_template(
&self,
compattempl: &PadTemplate
) -> Option<PadTemplate>
[src]
&self,
compattempl: &PadTemplate
) -> Option<PadTemplate>
fn get_context(&self, context_type: &str) -> Option<Context>
[src]
fn get_contexts(&self) -> Vec<Context>
[src]
fn get_factory(&self) -> Option<ElementFactory>
[src]
fn get_request_pad(&self, name: &str) -> Option<Pad>
[src]
fn get_start_time(&self) -> ClockTime
[src]
fn get_static_pad(&self, name: &str) -> Option<Pad>
[src]
fn is_locked_state(&self) -> bool
[src]
fn link<P>(&self, dest: &P) -> Result<(), BoolError> where
P: IsA<Element>,
[src]
P: IsA<Element>,
fn link_filtered<'a, P, Q>(&self, dest: &P, filter: Q) -> Result<(), BoolError> where
P: IsA<Element>,
Q: Into<Option<&'a Caps>>,
[src]
P: IsA<Element>,
Q: Into<Option<&'a Caps>>,
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>>,
[src]
&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 Caps>>,
[src]
&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 Caps>>,
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>>,
[src]
&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)
[src]
fn no_more_pads(&self)
[src]
fn post_message(&self, message: &Message) -> Result<(), BoolError>
[src]
fn provide_clock(&self) -> Option<Clock>
[src]
fn release_request_pad<P>(&self, pad: &P) where
P: IsA<Pad>,
[src]
P: IsA<Pad>,
fn remove_pad<P>(&self, pad: &P) -> Result<(), BoolError> where
P: IsA<Pad>,
[src]
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 Caps>>,
[src]
&self,
templ: &PadTemplate,
name: P,
caps: Q
) -> Option<Pad> where
P: Into<Option<&'a str>>,
Q: Into<Option<&'b Caps>>,
fn set_base_time(&self, time: ClockTime)
[src]
fn set_bus<'a, P>(&self, bus: P) where
P: Into<Option<&'a Bus>>,
[src]
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>>,
[src]
P: 'a + IsA<Clock>,
Q: Into<Option<&'a P>>,
fn set_context(&self, context: &Context)
[src]
fn set_locked_state(&self, locked_state: bool) -> bool
[src]
fn set_start_time(&self, time: ClockTime)
[src]
fn sync_state_with_parent(&self) -> Result<(), BoolError>
[src]
fn unlink<P>(&self, dest: &P) where
P: IsA<Element>,
[src]
P: IsA<Element>,
fn unlink_pads<P>(&self, srcpadname: &str, dest: &P, destpadname: &str) where
P: IsA<Element>,
[src]
P: IsA<Element>,
fn connect_no_more_pads<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&O),
[src]
F: 'static + Send + Sync + Fn(&O),
fn connect_pad_added<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&O, &Pad),
[src]
F: 'static + Send + Sync + Fn(&O, &Pad),
fn connect_pad_removed<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&O, &Pad),
[src]
F: 'static + Send + Sync + Fn(&O, &Pad),