mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-25 02:51:10 +00:00
gst: structure: revert [filter_]map_in_place deprecation
For `Structure`, `map_in_place()` & `filter_map_in_place()` where marked as deprecated when the feature v1_26 was selected. Any existing code using those functions will be rejected by CI clippy job because it uses `--all-features`. This commit removes the conditional deprecation. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1599>
This commit is contained in:
parent
5b652aa3d0
commit
591ab4314e
1 changed files with 0 additions and 5 deletions
|
@ -1588,7 +1588,6 @@ impl StructureRef {
|
||||||
/// * `ControlFlow::Break(())` otherwise.
|
/// * `ControlFlow::Break(())` otherwise.
|
||||||
///
|
///
|
||||||
/// [map_in_place_by_id]: crate::StructureRef::map_in_place_by_id
|
/// [map_in_place_by_id]: crate::StructureRef::map_in_place_by_id
|
||||||
#[cfg_attr(feature = "v1_26", deprecated = "use `map_in_place_by_id()` instead")]
|
|
||||||
#[doc(alias = "gst_structure_map_in_place")]
|
#[doc(alias = "gst_structure_map_in_place")]
|
||||||
pub fn map_in_place<F: FnMut(glib::Quark, &mut glib::Value) -> std::ops::ControlFlow<()>>(
|
pub fn map_in_place<F: FnMut(glib::Quark, &mut glib::Value) -> std::ops::ControlFlow<()>>(
|
||||||
&mut self,
|
&mut self,
|
||||||
|
@ -1632,10 +1631,6 @@ impl StructureRef {
|
||||||
/// use [filter_map_in_place_by_id] instead.
|
/// use [filter_map_in_place_by_id] instead.
|
||||||
///
|
///
|
||||||
/// [filter_map_in_place_by_id]: crate::StructureRef::filter_map_in_place_by_id
|
/// [filter_map_in_place_by_id]: crate::StructureRef::filter_map_in_place_by_id
|
||||||
#[cfg_attr(
|
|
||||||
feature = "v1_26",
|
|
||||||
deprecated = "use `filter_map_in_place_by_id()` instead"
|
|
||||||
)]
|
|
||||||
#[doc(alias = "gst_structure_filter_and_map_in_place")]
|
#[doc(alias = "gst_structure_filter_and_map_in_place")]
|
||||||
pub fn filter_map_in_place<F: FnMut(glib::Quark, glib::Value) -> Option<glib::Value>>(
|
pub fn filter_map_in_place<F: FnMut(glib::Quark, glib::Value) -> Option<glib::Value>>(
|
||||||
&mut self,
|
&mut self,
|
||||||
|
|
Loading…
Reference in a new issue