mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-27 05:51:01 +00:00
Use unsafe impl for the Instance trait impl
This commit is contained in:
parent
6803cb5fac
commit
1f596d414d
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ pub trait PanicPoison {
|
|||
fn panicked(&self) -> &AtomicBool;
|
||||
}
|
||||
|
||||
impl<T: ObjectType> Instance<T> for ElementInstanceStruct<T> {
|
||||
unsafe impl<T: ObjectType> Instance<T> for ElementInstanceStruct<T> {
|
||||
fn parent(&self) -> &T::GlibType {
|
||||
&self._parent
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue