glib::subclass::types

Trait ObjectSubclassIsExt

source
pub trait ObjectSubclassIsExt: ObjectSubclassIs {
    // Required method
    fn imp(&self) -> &Self::Subclass;
}
Expand description

Trait implemented by any type implementing ObjectSubclassIs to return the implementation, private Rust struct.

Required Methods§

source

fn imp(&self) -> &Self::Subclass

Returns the implementation (the private Rust struct) of this class instance

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T: ObjectSubclassIs<Subclass = S>, S: ObjectSubclass<Type = Self>> ObjectSubclassIsExt for T