#[repr(C)]pub struct GstRTPHeaderExtensionClass {
pub parent_class: GstElementClass,
pub get_supported_flags: Option<unsafe extern "C" fn(_: *mut GstRTPHeaderExtension) -> GstRTPHeaderExtensionFlags>,
pub get_max_size: Option<unsafe extern "C" fn(_: *mut GstRTPHeaderExtension, _: *const GstBuffer) -> size_t>,
pub write: Option<unsafe extern "C" fn(_: *mut GstRTPHeaderExtension, _: *const GstBuffer, _: GstRTPHeaderExtensionFlags, _: *mut GstBuffer, _: *mut u8, _: size_t) -> ssize_t>,
pub read: Option<unsafe extern "C" fn(_: *mut GstRTPHeaderExtension, _: GstRTPHeaderExtensionFlags, _: *const u8, _: size_t, _: *mut GstBuffer) -> gboolean>,
pub set_non_rtp_sink_caps: Option<unsafe extern "C" fn(_: *mut GstRTPHeaderExtension, _: *mut GstCaps) -> gboolean>,
pub update_non_rtp_src_caps: Option<unsafe extern "C" fn(_: *mut GstRTPHeaderExtension, _: *mut GstCaps) -> gboolean>,
pub set_attributes: Option<unsafe extern "C" fn(_: *mut GstRTPHeaderExtension, _: GstRTPHeaderExtensionDirection, _: *const c_char) -> gboolean>,
pub set_caps_from_attributes: Option<unsafe extern "C" fn(_: *mut GstRTPHeaderExtension, _: *mut GstCaps) -> gboolean>,
pub _gst_reserved: [gpointer; 20],
}
Fields§
§parent_class: GstElementClass
§get_supported_flags: Option<unsafe extern "C" fn(_: *mut GstRTPHeaderExtension) -> GstRTPHeaderExtensionFlags>
§get_max_size: Option<unsafe extern "C" fn(_: *mut GstRTPHeaderExtension, _: *const GstBuffer) -> size_t>
§write: Option<unsafe extern "C" fn(_: *mut GstRTPHeaderExtension, _: *const GstBuffer, _: GstRTPHeaderExtensionFlags, _: *mut GstBuffer, _: *mut u8, _: size_t) -> ssize_t>
§read: Option<unsafe extern "C" fn(_: *mut GstRTPHeaderExtension, _: GstRTPHeaderExtensionFlags, _: *const u8, _: size_t, _: *mut GstBuffer) -> gboolean>
§set_non_rtp_sink_caps: Option<unsafe extern "C" fn(_: *mut GstRTPHeaderExtension, _: *mut GstCaps) -> gboolean>
§update_non_rtp_src_caps: Option<unsafe extern "C" fn(_: *mut GstRTPHeaderExtension, _: *mut GstCaps) -> gboolean>
§set_attributes: Option<unsafe extern "C" fn(_: *mut GstRTPHeaderExtension, _: GstRTPHeaderExtensionDirection, _: *const c_char) -> gboolean>
§set_caps_from_attributes: Option<unsafe extern "C" fn(_: *mut GstRTPHeaderExtension, _: *mut GstCaps) -> gboolean>
§_gst_reserved: [gpointer; 20]
Trait Implementations§
source§impl Clone for GstRTPHeaderExtensionClass
impl Clone for GstRTPHeaderExtensionClass
source§fn clone(&self) -> GstRTPHeaderExtensionClass
fn clone(&self) -> GstRTPHeaderExtensionClass
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 GstRTPHeaderExtensionClass
impl Debug for GstRTPHeaderExtensionClass
impl Copy for GstRTPHeaderExtensionClass
Auto Trait Implementations§
impl Freeze for GstRTPHeaderExtensionClass
impl RefUnwindSafe for GstRTPHeaderExtensionClass
impl !Send for GstRTPHeaderExtensionClass
impl !Sync for GstRTPHeaderExtensionClass
impl Unpin for GstRTPHeaderExtensionClass
impl UnwindSafe for GstRTPHeaderExtensionClass
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: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)