mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-12-01 14:01:32 +00:00
Run everything through latest rustfmt-nightly again
This commit is contained in:
parent
0629a0283e
commit
7eb8429046
3 changed files with 5 additions and 8 deletions
|
@ -182,8 +182,7 @@ pub struct VideoInfoBuilder<'a> {
|
||||||
stride: Option<&'a [i32]>,
|
stride: Option<&'a [i32]>,
|
||||||
multiview_mode: Option<::VideoMultiviewMode>,
|
multiview_mode: Option<::VideoMultiviewMode>,
|
||||||
multiview_flags: Option<::VideoMultiviewFlags>,
|
multiview_flags: Option<::VideoMultiviewFlags>,
|
||||||
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
#[cfg(any(feature = "v1_12", feature = "dox"))] field_order: Option<::VideoFieldOrder>,
|
||||||
field_order: Option<::VideoFieldOrder>,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> VideoInfoBuilder<'a> {
|
impl<'a> VideoInfoBuilder<'a> {
|
||||||
|
|
|
@ -2278,10 +2278,8 @@ pub struct StreamsSelectedBuilder<'a> {
|
||||||
src: Option<Object>,
|
src: Option<Object>,
|
||||||
seqnum: Option<u32>,
|
seqnum: Option<u32>,
|
||||||
other_fields: Vec<(&'a str, &'a ToSendValue)>,
|
other_fields: Vec<(&'a str, &'a ToSendValue)>,
|
||||||
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
#[cfg(any(feature = "v1_10", feature = "dox"))] collection: &'a ::StreamCollection,
|
||||||
collection: &'a ::StreamCollection,
|
#[cfg(any(feature = "v1_10", feature = "dox"))] streams: Option<&'a [&'a ::Stream]>,
|
||||||
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
|
||||||
streams: Option<&'a [&'a ::Stream]>,
|
|
||||||
}
|
}
|
||||||
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
impl<'a> StreamsSelectedBuilder<'a> {
|
impl<'a> StreamsSelectedBuilder<'a> {
|
||||||
|
|
|
@ -20,13 +20,13 @@ use Fraction;
|
||||||
use glib;
|
use glib;
|
||||||
use glib::translate::{from_glib, from_glib_full, from_glib_none, FromGlibPtrFull, FromGlibPtrNone,
|
use glib::translate::{from_glib, from_glib_full, from_glib_none, FromGlibPtrFull, FromGlibPtrNone,
|
||||||
GlibPtrDefault, Stash, StashMut, ToGlib, ToGlibPtr, ToGlibPtrMut};
|
GlibPtrDefault, Stash, StashMut, ToGlib, ToGlibPtr, ToGlibPtrMut};
|
||||||
use glib::value::{FromValueOptional, ToSendValue, SendValue};
|
use glib::value::{FromValueOptional, SendValue, ToSendValue};
|
||||||
use ffi;
|
use ffi;
|
||||||
use glib_ffi::gpointer;
|
use glib_ffi::gpointer;
|
||||||
use gobject_ffi;
|
use gobject_ffi;
|
||||||
|
|
||||||
pub struct Structure(*mut StructureRef, PhantomData<StructureRef>);
|
pub struct Structure(*mut StructureRef, PhantomData<StructureRef>);
|
||||||
unsafe impl Send for Structure { }
|
unsafe impl Send for Structure {}
|
||||||
|
|
||||||
impl Structure {
|
impl Structure {
|
||||||
pub fn builder(name: &str) -> Builder {
|
pub fn builder(name: &str) -> Builder {
|
||||||
|
|
Loading…
Reference in a new issue