Struct gstreamer_sys::GstURIHandlerInterface
source · #[repr(C)]pub struct GstURIHandlerInterface {
pub parent: GTypeInterface,
pub get_type: Option<unsafe extern "C" fn(_: GType) -> GstURIType>,
pub get_protocols: Option<unsafe extern "C" fn(_: GType) -> *const *const c_char>,
pub get_uri: Option<unsafe extern "C" fn(_: *mut GstURIHandler) -> *mut c_char>,
pub set_uri: Option<unsafe extern "C" fn(_: *mut GstURIHandler, _: *const c_char, _: *mut *mut GError) -> gboolean>,
}
Fields§
§parent: GTypeInterface
§get_type: Option<unsafe extern "C" fn(_: GType) -> GstURIType>
§get_protocols: Option<unsafe extern "C" fn(_: GType) -> *const *const c_char>
§get_uri: Option<unsafe extern "C" fn(_: *mut GstURIHandler) -> *mut c_char>
§set_uri: Option<unsafe extern "C" fn(_: *mut GstURIHandler, _: *const c_char, _: *mut *mut GError) -> gboolean>
Trait Implementations§
source§impl Clone for GstURIHandlerInterface
impl Clone for GstURIHandlerInterface
source§fn clone(&self) -> GstURIHandlerInterface
fn clone(&self) -> GstURIHandlerInterface
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 GstURIHandlerInterface
impl Debug for GstURIHandlerInterface
impl Copy for GstURIHandlerInterface
Auto Trait Implementations§
impl Freeze for GstURIHandlerInterface
impl RefUnwindSafe for GstURIHandlerInterface
impl Send for GstURIHandlerInterface
impl Sync for GstURIHandlerInterface
impl Unpin for GstURIHandlerInterface
impl UnwindSafe for GstURIHandlerInterface
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
)