gio/
debug_controller_dbus.rs

1// Take a look at the license at the top of the repository in the LICENSE file.
2
3use glib::prelude::*;
4
5use crate::{DBusConnection, DebugControllerDBus};
6
7mod sealed {
8    pub trait Sealed {}
9    impl<T: super::IsA<super::DebugControllerDBus>> Sealed for T {}
10}
11
12pub trait DebugControllerDBusExtManual: sealed::Sealed + IsA<DebugControllerDBus> + Sized {
13    fn connection(&self) -> DBusConnection {
14        ObjectExt::property(self.as_ref(), "connection")
15    }
16}
17
18impl<O: IsA<DebugControllerDBus>> DebugControllerDBusExtManual for O {}