mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-09-25 05:20:18 +00:00
Run everything through cargo fmt again
This commit is contained in:
parent
ef012b9445
commit
451c198cec
3 changed files with 18 additions and 15 deletions
|
@ -42,7 +42,10 @@ macro_rules! event_builder_generic_impl {
|
|||
|
||||
pub fn other_fields(self, other_fields: &[(&'a str, &'a dyn ToSendValue)]) -> Self {
|
||||
Self {
|
||||
other_fields: self.other_fields.iter().cloned()
|
||||
other_fields: self
|
||||
.other_fields
|
||||
.iter()
|
||||
.cloned()
|
||||
.chain(other_fields.iter().cloned())
|
||||
.collect(),
|
||||
..self
|
||||
|
@ -63,7 +66,7 @@ macro_rules! event_builder_generic_impl {
|
|||
|
||||
{
|
||||
let s = gst::StructureRef::from_glib_borrow_mut(
|
||||
gst_sys::gst_event_writable_structure(event)
|
||||
gst_sys::gst_event_writable_structure(event),
|
||||
);
|
||||
|
||||
for (k, v) in self.other_fields {
|
||||
|
@ -74,7 +77,7 @@ macro_rules! event_builder_generic_impl {
|
|||
from_glib_full(event)
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
pub fn new_downstream_force_key_unit_event<'a>() -> DownstreamForceKeyUnitEventBuilder<'a> {
|
||||
|
|
|
@ -1009,7 +1009,7 @@ macro_rules! event_builder_generic_impl {
|
|||
|
||||
if !self.builder.other_fields.is_empty() {
|
||||
let s = StructureRef::from_glib_borrow_mut(
|
||||
gst_sys::gst_event_writable_structure(event)
|
||||
gst_sys::gst_event_writable_structure(event),
|
||||
);
|
||||
|
||||
for (k, v) in self.builder.other_fields {
|
||||
|
@ -1020,7 +1020,7 @@ macro_rules! event_builder_generic_impl {
|
|||
from_glib_full(event)
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
pub struct FlushStartBuilder<'a> {
|
||||
|
|
|
@ -1329,7 +1329,7 @@ macro_rules! message_builder_generic_impl {
|
|||
from_glib_full(msg)
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
pub struct EosBuilder<'a> {
|
||||
|
|
Loading…
Reference in a new issue