mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-06-07 16:08:55 +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;
|
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 {
|
fn parent(&self) -> &T::GlibType {
|
||||||
&self._parent
|
&self._parent
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue