mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-26 03:21:03 +00:00
Remove various unused use statements
This commit is contained in:
parent
6bba3d8518
commit
36bcb5630a
10 changed files with 8 additions and 17 deletions
|
@ -13,8 +13,7 @@ use gst;
|
|||
use gst::miniobject::*;
|
||||
|
||||
use glib;
|
||||
use glib::translate::{from_glib, from_glib_full, from_glib_none, ToGlib, ToGlibPtr};
|
||||
use glib_ffi;
|
||||
use glib::translate::{from_glib, from_glib_full, from_glib_none, ToGlib};
|
||||
|
||||
gst_define_mini_object_wrapper!(
|
||||
VideoOverlayRectangle,
|
||||
|
|
|
@ -22,7 +22,7 @@ use ClockTime;
|
|||
|
||||
use ffi;
|
||||
use glib;
|
||||
use glib::translate::{from_glib, from_glib_full, from_glib_none, FromGlib, ToGlib, ToGlibPtr};
|
||||
use glib::translate::{from_glib, from_glib_full, FromGlib, ToGlib};
|
||||
use glib_ffi;
|
||||
|
||||
pub enum Readable {}
|
||||
|
|
|
@ -8,8 +8,7 @@
|
|||
|
||||
use ffi;
|
||||
use glib;
|
||||
use glib::translate::{from_glib, from_glib_full, from_glib_none, ToGlibPtr};
|
||||
use glib_ffi;
|
||||
use glib::translate::from_glib_full;
|
||||
use std::fmt;
|
||||
|
||||
use miniobject::*;
|
||||
|
|
|
@ -17,9 +17,8 @@ use CapsIntersectMode;
|
|||
|
||||
use ffi;
|
||||
use glib;
|
||||
use glib::translate::{from_glib, from_glib_full, from_glib_none, ToGlib, ToGlibPtr};
|
||||
use glib::translate::{from_glib, from_glib_full, ToGlib, ToGlibPtr};
|
||||
use glib::value::ToSendValue;
|
||||
use glib_ffi;
|
||||
|
||||
gst_define_mini_object_wrapper!(Caps, CapsRef, ffi::GstCaps, [Debug, PartialEq, Eq,], || {
|
||||
ffi::gst_caps_get_type()
|
||||
|
|
|
@ -12,8 +12,7 @@ use std::fmt;
|
|||
use ffi;
|
||||
|
||||
use glib;
|
||||
use glib::translate::{from_glib, from_glib_full, from_glib_none, ToGlib, ToGlibPtr};
|
||||
use glib_ffi;
|
||||
use glib::translate::{from_glib, from_glib_full, ToGlib, ToGlibPtr};
|
||||
|
||||
use miniobject::*;
|
||||
use StructureRef;
|
||||
|
|
|
@ -19,9 +19,8 @@ use std::ops::Deref;
|
|||
use std::ptr;
|
||||
|
||||
use glib;
|
||||
use glib::translate::{from_glib, from_glib_full, from_glib_none, FromGlib, ToGlib, ToGlibPtr};
|
||||
use glib::translate::{from_glib, from_glib_full, FromGlib, ToGlib, ToGlibPtr};
|
||||
use glib::value::ToSendValue;
|
||||
use glib_ffi;
|
||||
|
||||
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||
use glib::translate::FromGlibPtrContainer;
|
||||
|
|
|
@ -27,7 +27,6 @@ use glib::translate::{from_glib, from_glib_full, from_glib_none, mut_override, T
|
|||
use glib::value::ToSendValue;
|
||||
use glib::Cast;
|
||||
use glib::IsA;
|
||||
use glib_ffi;
|
||||
|
||||
gst_define_mini_object_wrapper!(Message, MessageRef, ffi::GstMessage, [Debug,], || {
|
||||
ffi::gst_message_get_type()
|
||||
|
|
|
@ -12,8 +12,7 @@ use std::ptr;
|
|||
use ffi;
|
||||
|
||||
use glib;
|
||||
use glib::translate::{from_glib, from_glib_full, from_glib_none, mut_override, ToGlibPtr};
|
||||
use glib_ffi;
|
||||
use glib::translate::{from_glib_full, from_glib_none, mut_override, ToGlibPtr};
|
||||
|
||||
use miniobject::*;
|
||||
use Buffer;
|
||||
|
|
|
@ -13,9 +13,8 @@ use std::mem;
|
|||
|
||||
use ffi;
|
||||
use glib;
|
||||
use glib::translate::{from_glib, from_glib_full, from_glib_none, ToGlib, ToGlibPtr, ToGlibPtrMut};
|
||||
use glib::translate::{from_glib, from_glib_full, ToGlib, ToGlibPtr, ToGlibPtrMut};
|
||||
use glib::value::{FromValueOptional, SendValue, SetValue, ToSendValue, TypedValue};
|
||||
use glib_ffi;
|
||||
|
||||
use miniobject::*;
|
||||
|
||||
|
|
|
@ -16,7 +16,6 @@ use glib;
|
|||
use glib::translate::{
|
||||
from_glib, from_glib_full, from_glib_none, FromGlibPtrContainer, ToGlib, ToGlibPtr,
|
||||
};
|
||||
use glib_ffi;
|
||||
|
||||
use miniobject::*;
|
||||
use TagList;
|
||||
|
|
Loading…
Reference in a new issue