forked from mirrors/gstreamer-rs
gstreamer: Implement Structure::from_iter()
more generically
This commit is contained in:
parent
003554876c
commit
3a340d0a89
1 changed files with 2 additions and 2 deletions
|
@ -79,9 +79,9 @@ impl Structure {
|
|||
}
|
||||
|
||||
#[allow(clippy::should_implement_trait)]
|
||||
pub fn from_iter<'a>(
|
||||
pub fn from_iter(
|
||||
name: impl IntoGStr,
|
||||
iter: impl IntoIterator<Item = (&'a glib::GStr, SendValue)>,
|
||||
iter: impl IntoIterator<Item = (impl IntoGStr, SendValue)>,
|
||||
) -> Structure {
|
||||
skip_assert_initialized!();
|
||||
let mut structure = Structure::new_empty(name);
|
||||
|
|
Loading…
Reference in a new issue