Struct glib::object::InterfaceRef [−][src]
pub struct InterfaceRef<'a, T: IsInterface>(_, _, _);
Expand description
Reference to a class struct of type T
.
Methods from Deref<Target = Interface<T>>
Get the type id for this interface.
This is equivalent to T::static_type()
.
Get the type id for the instance type of this interface.
This is not equivalent to T::static_type()
but is the type id of the type this specific
interface belongs to.
Gets the parent interface struct, if any.
This returns the parent interface if a parent type of the instance type also implements the interface.
Trait Implementations
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for InterfaceRef<'a, T> where
<T as ObjectType>::GlibClassType: RefUnwindSafe,
impl<'a, T> Unpin for InterfaceRef<'a, T>
impl<'a, T> UnwindSafe for InterfaceRef<'a, T> where
<T as ObjectType>::GlibClassType: RefUnwindSafe,