Struct gstreamer_sys::GstDeviceClass
source · #[repr(C)]pub struct GstDeviceClass {
pub parent_class: GstObjectClass,
pub create_element: Option<unsafe extern "C" fn(_: *mut GstDevice, _: *const c_char) -> *mut GstElement>,
pub reconfigure_element: Option<unsafe extern "C" fn(_: *mut GstDevice, _: *mut GstElement) -> gboolean>,
pub _gst_reserved: [gpointer; 4],
}
Fields§
§parent_class: GstObjectClass
§create_element: Option<unsafe extern "C" fn(_: *mut GstDevice, _: *const c_char) -> *mut GstElement>
§reconfigure_element: Option<unsafe extern "C" fn(_: *mut GstDevice, _: *mut GstElement) -> gboolean>
§_gst_reserved: [gpointer; 4]
Trait Implementations§
source§impl Clone for GstDeviceClass
impl Clone for GstDeviceClass
source§fn clone(&self) -> GstDeviceClass
fn clone(&self) -> GstDeviceClass
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GstDeviceClass
impl Debug for GstDeviceClass
impl Copy for GstDeviceClass
Auto Trait Implementations§
impl Freeze for GstDeviceClass
impl RefUnwindSafe for GstDeviceClass
impl !Send for GstDeviceClass
impl !Sync for GstDeviceClass
impl Unpin for GstDeviceClass
impl UnwindSafe for GstDeviceClass
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)