Struct gstreamer_sys::GstClockClass
source · #[repr(C)]pub struct GstClockClass {
pub parent_class: GstObjectClass,
pub change_resolution: Option<unsafe extern "C" fn(_: *mut GstClock, _: GstClockTime, _: GstClockTime) -> GstClockTime>,
pub get_resolution: Option<unsafe extern "C" fn(_: *mut GstClock) -> GstClockTime>,
pub get_internal_time: Option<unsafe extern "C" fn(_: *mut GstClock) -> GstClockTime>,
pub wait: Option<unsafe extern "C" fn(_: *mut GstClock, _: *mut GstClockEntry, _: *mut GstClockTimeDiff) -> GstClockReturn>,
pub wait_async: Option<unsafe extern "C" fn(_: *mut GstClock, _: *mut GstClockEntry) -> GstClockReturn>,
pub unschedule: Option<unsafe extern "C" fn(_: *mut GstClock, _: *mut GstClockEntry)>,
pub _gst_reserved: [gpointer; 4],
}
Fields§
§parent_class: GstObjectClass
§change_resolution: Option<unsafe extern "C" fn(_: *mut GstClock, _: GstClockTime, _: GstClockTime) -> GstClockTime>
§get_resolution: Option<unsafe extern "C" fn(_: *mut GstClock) -> GstClockTime>
§get_internal_time: Option<unsafe extern "C" fn(_: *mut GstClock) -> GstClockTime>
§wait: Option<unsafe extern "C" fn(_: *mut GstClock, _: *mut GstClockEntry, _: *mut GstClockTimeDiff) -> GstClockReturn>
§wait_async: Option<unsafe extern "C" fn(_: *mut GstClock, _: *mut GstClockEntry) -> GstClockReturn>
§unschedule: Option<unsafe extern "C" fn(_: *mut GstClock, _: *mut GstClockEntry)>
§_gst_reserved: [gpointer; 4]
Trait Implementations§
source§impl Clone for GstClockClass
impl Clone for GstClockClass
source§fn clone(&self) -> GstClockClass
fn clone(&self) -> GstClockClass
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 GstClockClass
impl Debug for GstClockClass
impl Copy for GstClockClass
Auto Trait Implementations§
impl Freeze for GstClockClass
impl RefUnwindSafe for GstClockClass
impl !Send for GstClockClass
impl !Sync for GstClockClass
impl Unpin for GstClockClass
impl UnwindSafe for GstClockClass
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
)