mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-06-02 13:29:29 +00:00
1ffa02fc1f
Apply import cleanups from https://github.com/gtk-rs/gir/pull/1043, omitting `use` statements where unnecessary or guarding them with versioning constraints to prevent `unused_imports` warnings. Removes unnecessary `mut_override` with https://github.com/gtk-rs/gir/pull/1044 as well.
18 lines
590 B
Rust
18 lines
590 B
Rust
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
|
// from gir-files (https://github.com/gtk-rs/gir-files)
|
|
// DO NOT EDIT
|
|
|
|
glib::wrapper! {
|
|
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
|
pub struct PlayerVisualization(Boxed<ffi::GstPlayerVisualization>);
|
|
|
|
match fn {
|
|
copy => |ptr| ffi::gst_player_visualization_copy(ptr),
|
|
free => |ptr| ffi::gst_player_visualization_free(ptr),
|
|
get_type => || ffi::gst_player_visualization_get_type(),
|
|
}
|
|
}
|
|
|
|
unsafe impl Send for PlayerVisualization {}
|
|
unsafe impl Sync for PlayerVisualization {}
|