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
sourceimpl Clone for GstClockClass
impl Clone for GstClockClass
sourcefn clone(&self) -> GstClockClass
fn clone(&self) -> GstClockClass
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for GstClockClass
impl Debug for GstClockClass
impl Copy for GstClockClass
Auto Trait Implementations
impl RefUnwindSafe for GstClockClass
impl !Send for GstClockClass
impl !Sync for GstClockClass
impl Unpin for GstClockClass
impl UnwindSafe for GstClockClass
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more