gdk_pixbuf::subclass::prelude

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

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