Struct gstreamer_sys::GstSegment
source · #[repr(C)]pub struct GstSegment {
pub flags: GstSegmentFlags,
pub rate: c_double,
pub applied_rate: c_double,
pub format: GstFormat,
pub base: u64,
pub offset: u64,
pub start: u64,
pub stop: u64,
pub time: u64,
pub position: u64,
pub duration: u64,
pub _gst_reserved: [gpointer; 4],
}
Fields§
§flags: GstSegmentFlags
§rate: c_double
§applied_rate: c_double
§format: GstFormat
§base: u64
§offset: u64
§start: u64
§stop: u64
§time: u64
§position: u64
§duration: u64
§_gst_reserved: [gpointer; 4]
Trait Implementations§
source§impl Clone for GstSegment
impl Clone for GstSegment
source§fn clone(&self) -> GstSegment
fn clone(&self) -> GstSegment
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 GstSegment
impl Debug for GstSegment
impl Copy for GstSegment
Auto Trait Implementations§
impl Freeze for GstSegment
impl RefUnwindSafe for GstSegment
impl !Send for GstSegment
impl !Sync for GstSegment
impl Unpin for GstSegment
impl UnwindSafe for GstSegment
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
)