mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-29 04:51:09 +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]>,
|
||||
multiview_mode: Option<::VideoMultiviewMode>,
|
||||
multiview_flags: Option<::VideoMultiviewFlags>,
|
||||
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
||||
field_order: Option<::VideoFieldOrder>,
|
||||
#[cfg(any(feature = "v1_12", feature = "dox"))] field_order: Option<::VideoFieldOrder>,
|
||||
}
|
||||
|
||||
impl<'a> VideoInfoBuilder<'a> {
|
||||
|
|
|
@ -2278,10 +2278,8 @@ pub struct StreamsSelectedBuilder<'a> {
|
|||
src: Option<Object>,
|
||||
seqnum: Option<u32>,
|
||||
other_fields: Vec<(&'a str, &'a ToSendValue)>,
|
||||
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||
collection: &'a ::StreamCollection,
|
||||
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||
streams: Option<&'a [&'a ::Stream]>,
|
||||
#[cfg(any(feature = "v1_10", feature = "dox"))] collection: &'a ::StreamCollection,
|
||||
#[cfg(any(feature = "v1_10", feature = "dox"))] streams: Option<&'a [&'a ::Stream]>,
|
||||
}
|
||||
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||
impl<'a> StreamsSelectedBuilder<'a> {
|
||||
|
|
|
@ -20,13 +20,13 @@ use Fraction;
|
|||
use glib;
|
||||
use glib::translate::{from_glib, from_glib_full, from_glib_none, FromGlibPtrFull, FromGlibPtrNone,
|
||||
GlibPtrDefault, Stash, StashMut, ToGlib, ToGlibPtr, ToGlibPtrMut};
|
||||
use glib::value::{FromValueOptional, ToSendValue, SendValue};
|
||||
use glib::value::{FromValueOptional, SendValue, ToSendValue};
|
||||
use ffi;
|
||||
use glib_ffi::gpointer;
|
||||
use gobject_ffi;
|
||||
|
||||
pub struct Structure(*mut StructureRef, PhantomData<StructureRef>);
|
||||
unsafe impl Send for Structure { }
|
||||
unsafe impl Send for Structure {}
|
||||
|
||||
impl Structure {
|
||||
pub fn builder(name: &str) -> Builder {
|
||||
|
|
Loading…
Reference in a new issue