[]Trait gtk::subclass::prelude::IsImplementable

pub unsafe trait IsImplementable<T>: StaticType where
    T: ObjectSubclass
{ unsafe extern "C" fn interface_init(
        iface: *mut c_void,
        _iface_data: *mut c_void
    ); }

Trait for implementable interfaces.

Required methods

unsafe extern "C" fn interface_init(
    iface: *mut c_void,
    _iface_data: *mut c_void
)

Initializes the interface's virtual methods.

Safety

It is the responsibility of the implementor of the interface to correctly type the pointers when working on the vtables they point at.

Loading content...

Implementations on Foreign Types

impl<T> IsImplementable<T> for Seekable where
    T: SeekableImpl + ObjectSubclass

Loading content...

Implementors

Loading content...