[]Trait libhandy4::subclass::prelude::IsImplementable

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

Trait for implementable interfaces.

Required methods

pub 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 Paintable where
    T: PaintableImpl, 

impl<T> IsImplementable<T> for ListModel where
    T: ListModelImpl,
    <T as ObjectSubclass>::Type: IsA<Object>, 

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

impl<T> IsImplementable<T> for Scrollable where
    T: ScrollableImpl, 

impl<T> IsImplementable<T> for ShortcutManager where
    T: ShortcutManagerImpl, 

impl<T> IsImplementable<T> for Actionable where
    T: ActionableImpl, 

impl<T> IsImplementable<T> for Editable where
    T: EditableImpl, 

Loading content...

Implementors

Loading content...