Trait glib::subclass::types::FromObject

source ·
pub trait FromObject {
    type FromObjectType;

    // Required method
    fn from_object(obj: &Self::FromObjectType) -> &Self;
}
Expand description

Helper trait for macros to access a subclass or its wrapper.

Required Associated Types§

Required Methods§

Object Safety§

This trait is not object safe.

Implementors§