mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2025-02-17 03:25:36 +00:00
Mark Segment as #[repr(C)]
This commit is contained in:
parent
b9c4e4cd6e
commit
9608ef52ec
1 changed files with 1 additions and 0 deletions
|
@ -22,6 +22,7 @@ use std::fmt;
|
||||||
use std::marker::PhantomData;
|
use std::marker::PhantomData;
|
||||||
|
|
||||||
pub type Segment = FormattedSegment<GenericFormattedValue>;
|
pub type Segment = FormattedSegment<GenericFormattedValue>;
|
||||||
|
#[repr(C)]
|
||||||
pub struct FormattedSegment<T: FormattedValue>(ffi::GstSegment, PhantomData<T>);
|
pub struct FormattedSegment<T: FormattedValue>(ffi::GstSegment, PhantomData<T>);
|
||||||
|
|
||||||
impl Segment {
|
impl Segment {
|
||||||
|
|
Loading…
Reference in a new issue