Struct gst::Pad [−][src]
pub struct Pad { /* fields omitted */ }
Methods
impl Pad
[src]
impl Pad
pub unsafe fn new(pad: *mut GstPad) -> Option<Pad>
[src]
pub unsafe fn new(pad: *mut GstPad) -> Option<Pad>
pub fn link(&mut self, sink: &mut Pad) -> Result<(), LinkReturn>
[src]
pub fn link(&mut self, sink: &mut Pad) -> Result<(), LinkReturn>
pub fn is_linked(&self) -> bool
[src]
pub fn is_linked(&self) -> bool
pub fn query_caps(&self, filter: Option<Caps>) -> Option<Caps>
[src]
pub fn query_caps(&self, filter: Option<Caps>) -> Option<Caps>
pub unsafe fn gst_pad(&self) -> *const GstPad
[src]
pub unsafe fn gst_pad(&self) -> *const GstPad
pub unsafe fn gst_pad_mut(&mut self) -> *mut GstPad
[src]
pub unsafe fn gst_pad_mut(&mut self) -> *mut GstPad
Methods from Deref<Target = Object>
pub fn set_name(&mut self, name: &str) -> bool
[src]
pub fn set_name(&mut self, name: &str) -> bool
pub fn name(&self) -> String
[src]
pub fn name(&self) -> String
Returns the name of the object
pub fn flags(&self) -> u32
[src]
pub fn flags(&self) -> u32
pub fn is_flag_set(&self, flag: u32) -> bool
[src]
pub fn is_flag_set(&self, flag: u32) -> bool
pub fn set_flag(&mut self, flag: u32)
[src]
pub fn set_flag(&mut self, flag: u32)
pub fn unset_flag(&mut self, flag: u32)
[src]
pub fn unset_flag(&mut self, flag: u32)
pub fn refcount(&self) -> usize
[src]
pub fn refcount(&self) -> usize
pub fn lock<F: FnMut(&mut Object)>(&mut self, f: F)
[src]
pub fn lock<F: FnMut(&mut Object)>(&mut self, f: F)
pub fn set_unique_name(&mut self) -> bool
[src]
pub fn set_unique_name(&mut self) -> bool
pub fn set_parent(&mut self, parent: &Object) -> bool
[src]
pub fn set_parent(&mut self, parent: &Object) -> bool
pub fn parent(&self) -> Option<Ref<Object>>
[src]
pub fn parent(&self) -> Option<Ref<Object>>
pub fn unparent(&mut self)
[src]
pub fn unparent(&mut self)
pub fn has_as_ancestor(&self, ancestor: &Object) -> bool
[src]
pub fn has_as_ancestor(&self, ancestor: &Object) -> bool
pub fn path_string(&self) -> &str
[src]
pub fn path_string(&self) -> &str
pub fn has_active_control_bindings(&self) -> bool
[src]
pub fn has_active_control_bindings(&self) -> bool
pub fn disable_control_bindings(&mut self)
[src]
pub fn disable_control_bindings(&mut self)
pub fn enable_control_bindings(&mut self)
[src]
pub fn enable_control_bindings(&mut self)
pub fn disable_control_binding(&mut self, property_name: &str)
[src]
pub fn disable_control_binding(&mut self, property_name: &str)
pub fn enable_control_binding(&mut self, property_name: &str)
[src]
pub fn enable_control_binding(&mut self, property_name: &str)
pub fn set<T>(&mut self, name: &str, value: T) where
T: Property,
[src]
pub fn set<T>(&mut self, name: &str, value: T) where
T: Property,
pub fn get<T>(&self, name: &str) -> T where
T: FromProperty,
[src]
pub fn get<T>(&self, name: &str) -> T where
T: FromProperty,
pub unsafe fn signal_connect<T>(
&mut self,
signal: &str,
callback: GCallback,
data: &mut T
) where
Self: Sized,
[src]
pub unsafe fn signal_connect<T>(
&mut self,
signal: &str,
callback: GCallback,
data: &mut T
) where
Self: Sized,
pub unsafe fn gst_object(&self) -> *const GstObject
[src]
pub unsafe fn gst_object(&self) -> *const GstObject
pub unsafe fn gst_object_mut(&mut self) -> *mut GstObject
[src]
pub unsafe fn gst_object_mut(&mut self) -> *mut GstObject
Trait Implementations
impl Transfer<GstPad> for Pad
[src]
impl Transfer<GstPad> for Pad
unsafe fn transfer(self) -> *mut GstPad
[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 Reference for Pad
[src]
impl Reference for Pad
impl AsRef<Object> for Pad
[src]
impl AsRef<Object> for Pad
impl AsMut<Object> for Pad
[src]
impl AsMut<Object> for Pad
impl From<Pad> for Object
[src]
impl From<Pad> for Object
impl Deref for Pad
[src]
impl Deref for Pad
type Target = Object
The resulting type after dereferencing.
fn deref(&self) -> &Object
[src]
fn deref(&self) -> &Object
Dereferences the value.
impl DerefMut for Pad
[src]
impl DerefMut for Pad