Struct gstreamer::PadTemplate[][src]

pub struct PadTemplate(_, _);

Implementations

impl PadTemplate[src]

pub fn new(
    name_template: &str,
    direction: PadDirection,
    presence: PadPresence,
    caps: &Caps
) -> Result<PadTemplate, BoolError>
[src]

pub fn with_gtype(
    name_template: &str,
    direction: PadDirection,
    presence: PadPresence,
    caps: &Caps,
    pad_type: Type
) -> Result<PadTemplate, BoolError>
[src]

pub fn get_caps(&self) -> Option<Caps>[src]

pub fn get_documentation_caps(&self) -> Option<Caps>[src]

pub fn pad_created<P: IsA<Pad>>(&self, pad: &P)[src]

pub fn set_documentation_caps(&self, caps: &Caps)[src]

pub fn get_property_direction(&self) -> PadDirection[src]

pub fn get_property_gtype(&self) -> Type[src]

pub fn get_property_name_template(&self) -> Option<GString>[src]

pub fn get_property_presence(&self) -> PadPresence[src]

pub fn connect_pad_created<F: Fn(&PadTemplate, &Pad) + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

impl PadTemplate[src]

pub fn from_static_pad_template_with_gtype(
    pad_template: &StaticPadTemplate,
    pad_type: Type
) -> Result<PadTemplate, BoolError>
[src]

Trait Implementations

impl Clone for PadTemplate[src]

impl Debug for PadTemplate[src]

impl Eq for PadTemplate[src]

impl Hash for PadTemplate[src]

impl IsA<Object> for PadTemplate[src]

impl Ord for PadTemplate[src]

impl<T: ObjectType> PartialEq<T> for PadTemplate[src]

impl<T: ObjectType> PartialOrd<T> for PadTemplate[src]

impl Send for PadTemplate[src]

impl StaticType for PadTemplate[src]

impl Sync for PadTemplate[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Super, Sub> CanDowncast<Sub> for Super where
    Sub: IsA<Super>,
    Super: IsA<Super>, 
[src]

impl<T> Cast for T where
    T: ObjectType
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ObjectExt for T where
    T: ObjectType
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.