Struct gst::Pad [] [src]

pub struct Pad {
    // some fields omitted
}

Methods

impl Pad
[src]

unsafe fn new(pad: *mut GstPad) -> Option<Pad>

fn is_linked(&self) -> bool

fn query_caps(&self, filter: Option<Caps>) -> Option<Caps>

unsafe fn gst_pad(&self) -> *const GstPad

unsafe fn gst_pad_mut(&mut self) -> *mut GstPad

Methods from Deref<Target=Object>

fn set_name(&mut self, name: &str) -> bool

fn name(&self) -> String

Returns the name of the object

fn flags(&self) -> u32

fn is_flag_set(&self, flag: u32) -> bool

fn set_flag(&mut self, flag: u32)

fn unset_flag(&mut self, flag: u32)

fn refcount(&self) -> usize

fn lock<F: FnMut(&mut Object)>(&mut self, f: F)

fn set_unique_name(&mut self) -> bool

fn set_parent(&mut self, parent: &Object) -> bool

fn parent(&self) -> Option<Ref<Object>>

fn unparent(&mut self)

fn has_as_ancestor(&self, ancestor: &Object) -> bool

fn path_string(&self) -> &str

fn has_active_control_bindings(&self) -> bool

fn disable_control_bindings(&mut self)

fn enable_control_bindings(&mut self)

fn disable_control_binding(&mut self, property_name: &str)

fn enable_control_binding(&mut self, property_name: &str)

fn set<T>(&mut self, name: &str, value: T) where T: Property

fn get<T>(&self, name: &str) -> T where T: FromProperty

unsafe fn signal_connect<T>(&mut self, signal: &str, callback: GCallback, data: &mut T) where Self: Sized

unsafe fn gst_object(&self) -> *const GstObject

unsafe fn gst_object_mut(&mut self) -> *mut GstObject

Trait Implementations

impl Transfer<GstPad> for Pad
[src]

unsafe fn transfer(self) -> *mut GstPad

Consumes the current object and transfers ownership of the raw pointer Used to transfer ownership to ffi functions, should be used when an ffi function expects full transfer of an object to avoid the original object to be unreferenced in the process Read more

impl AsRef<Object> for Pad
[src]

fn as_ref(&self) -> &Object

Performs the conversion.

impl AsMut<Object> for Pad
[src]

fn as_mut(&mut self) -> &mut Object

Performs the conversion.

impl Deref for Pad
[src]

type Target = Object

The resulting type after dereferencing

fn deref(&self) -> &Object

The method called to dereference a value

impl DerefMut for Pad
[src]

fn deref_mut(&mut self) -> &mut Object

The method called to mutably dereference a value