pub unsafe trait IsSubclassable<T>: IsSubclassableDefault<T>where
    T: ObjectSubclass,{
    // Provided methods
    fn class_init(class: &mut Class<Self>) { ... }
    fn instance_init(instance: &mut InitializingObject<T>) { ... }
}
Expand description

Trait for subclassable class structs.

Provided Methods§

source

fn class_init(class: &mut Class<Self>)

Override the virtual methods of this class for the given subclass and do other class initialization.

This is automatically called during type initialization and must call class_init() of the parent class.

source

fn instance_init(instance: &mut InitializingObject<T>)

Instance specific initialization.

This is automatically called during instance initialization and must call instance_init() of the parent class.

Implementations on Foreign Types§

source§

impl<T> IsSubclassable<T> for Applicationwhere T: ApplicationImpl,

source§

impl<T> IsSubclassable<T> for IOStreamwhere T: IOStreamImpl,

source§

impl<T> IsSubclassable<T> for InputStreamwhere T: InputStreamImpl,

source§

impl<T> IsSubclassable<T> for OutputStreamwhere T: OutputStreamImpl,

source§

impl<T> IsSubclassable<T> for Popoverwhere T: PopoverImpl,

source§

impl<T> IsSubclassable<T> for Sorterwhere T: SorterImpl,

source§

impl<T> IsSubclassable<T> for CellRendererTextwhere T: CellRendererTextImpl,

source§

impl<T> IsSubclassable<T> for RecentManagerwhere T: RecentManagerImpl,

source§

impl<T> IsSubclassable<T> for ApplicationWindowwhere T: ApplicationWindowImpl,

source§

impl<T> IsSubclassable<T> for IMContextwhere T: IMContextImpl,

source§

impl<T> IsSubclassable<T> for NativeDialogwhere T: NativeDialogImpl,

source§

impl<T> IsSubclassable<T> for Windowwhere T: WindowImpl,

source§

impl<T> IsSubclassable<T> for Applicationwhere T: GtkApplicationImpl,

source§

impl<T> IsSubclassable<T> for TreeModelFilterwhere T: TreeModelFilterImpl,

source§

impl<T> IsSubclassable<T> for Fixedwhere T: FixedImpl,

source§

impl<T> IsSubclassable<T> for PrintOperationwhere T: PrintOperationImpl,

source§

impl<T> IsSubclassable<T> for CheckButtonwhere T: CheckButtonImpl,

source§

impl<T> IsSubclassable<T> for LayoutChildwhere T: LayoutChildImpl,

source§

impl<T> IsSubclassable<T> for ComboBoxwhere T: ComboBoxImpl,

source§

impl<T> IsSubclassable<T> for Scalewhere T: ScaleImpl,

source§

fn class_init(class: &mut Class<Scale>)

source§

impl<T> IsSubclassable<T> for MediaFilewhere T: MediaFileImpl,

source§

impl<T> IsSubclassable<T> for FlowBoxChildwhere T: FlowBoxChildImpl,

source§

impl<T> IsSubclassable<T> for Entrywhere T: EntryImpl,

source§

fn class_init(class: &mut Class<Entry>)

source§

impl<T> IsSubclassable<T> for Adjustmentwhere T: AdjustmentImpl,

source§

impl<T> IsSubclassable<T> for ToggleButtonwhere T: ToggleButtonImpl,

source§

impl<T> IsSubclassable<T> for BuilderCScopewhere T: BuilderCScopeImpl,

source§

impl<T> IsSubclassable<T> for Framewhere T: FrameImpl,

source§

fn class_init(class: &mut Class<Frame>)

source§

impl<T> IsSubclassable<T> for CellAreaContextwhere T: CellAreaContextImpl,

source§

impl<T> IsSubclassable<T> for MediaStreamwhere T: MediaStreamImpl,

source§

impl<T> IsSubclassable<T> for Gridwhere T: GridImpl,

source§

impl<T> IsSubclassable<T> for ScaleButtonwhere T: ScaleButtonImpl,

source§

impl<T> IsSubclassable<T> for TreeViewwhere T: TreeViewImpl,

source§

impl<T> IsSubclassable<T> for GLAreawhere T: GLAreaImpl,

source§

impl<T> IsSubclassable<T> for Dialogwhere T: DialogImpl,

source§

impl<T> IsSubclassable<T> for TextBufferwhere T: TextBufferImpl,

source§

impl<T> IsSubclassable<T> for Widgetwhere T: WidgetImpl,

source§

impl<T> IsSubclassable<T> for CellAreawhere T: CellAreaImpl,

source§

impl<T> IsSubclassable<T> for TextViewwhere T: TextViewImpl,

source§

impl<T> IsSubclassable<T> for Boxwhere T: BoxImpl,

source§

impl<T> IsSubclassable<T> for LayoutManagerwhere T: LayoutManagerImpl,

source§

impl<T> IsSubclassable<T> for Filterwhere T: FilterImpl,

source§

impl<T> IsSubclassable<T> for EntryBufferwhere T: EntryBufferImpl,

source§

impl<T> IsSubclassable<T> for DrawingAreawhere T: DrawingAreaImpl,

source§

impl<T> IsSubclassable<T> for CellRendererwhere T: CellRendererImpl,

source§

impl<T> IsSubclassable<T> for StyleContextwhere T: StyleContextImpl,

source§

impl<T> IsSubclassable<T> for Buttonwhere T: ButtonImpl,

source§

impl<T> IsSubclassable<T> for ListBoxRowwhere T: ListBoxRowImpl,

source§

impl<T> IsSubclassable<T> for Rangewhere T: RangeImpl,

source§

fn class_init(class: &mut Class<Range>)

source§

impl<T> IsSubclassable<T> for ContentProviderwhere T: ContentProviderImpl,

source§

impl<T> IsSubclassable<T> for PixbufLoaderwhere T: PixbufLoaderImpl,

source§

impl<T> IsSubclassable<T> for PixbufAnimationIterwhere T: PixbufAnimationIterImpl,

source§

impl<T> IsSubclassable<T> for PixbufAnimationwhere T: PixbufAnimationImpl,

source§

impl<T> IsSubclassable<T> for PreferencesRowwhere T: PreferencesRowImpl,

source§

impl<T> IsSubclassable<T> for ActionRowwhere T: ActionRowImpl,

source§

impl<T> IsSubclassable<T> for MessageDialogwhere T: MessageDialogImpl,

source§

impl<T> IsSubclassable<T> for PreferencesGroupwhere T: PreferencesGroupImpl,

source§

impl<T> IsSubclassable<T> for ApplicationWindowwhere T: AdwApplicationWindowImpl,

source§

impl<T> IsSubclassable<T> for Applicationwhere T: AdwApplicationImpl,

source§

impl<T> IsSubclassable<T> for ComboRowwhere T: ComboRowImpl,

source§

impl<T> IsSubclassable<T> for ExpanderRowwhere T: ExpanderRowImpl,

source§

impl<T> IsSubclassable<T> for Windowwhere T: AdwWindowImpl,

source§

impl<T> IsSubclassable<T> for PreferencesPagewhere T: PreferencesPageImpl,

source§

impl<T> IsSubclassable<T> for PreferencesWindowwhere T: PreferencesWindowImpl,

source§

impl<T> IsSubclassable<T> for Binwhere T: BinImpl,

source§

impl<T> IsSubclassable<T> for EntryRowwhere T: EntryRowImpl,

Implementors§