mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-28 04:50:30 +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