Trait libpanel::subclass::prelude::IsSubclassable

source ·
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.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T> IsSubclassable<T> for ContentProvider

source§

impl<T> IsSubclassable<T> for Adjustment
where T: AdjustmentImpl,

source§

impl<T> IsSubclassable<T> for Application

source§

impl<T> IsSubclassable<T> for ApplicationWindow

source§

impl<T> IsSubclassable<T> for Box
where T: BoxImpl,

source§

impl<T> IsSubclassable<T> for Button
where T: ButtonImpl,

source§

impl<T> IsSubclassable<T> for CellArea
where T: CellAreaImpl,

source§

impl<T> IsSubclassable<T> for CellAreaContext

source§

impl<T> IsSubclassable<T> for CellRenderer

source§

impl<T> IsSubclassable<T> for CellRendererText

source§

impl<T> IsSubclassable<T> for CheckButton
where T: CheckButtonImpl,

source§

impl<T> IsSubclassable<T> for ComboBox
where T: ComboBoxImpl,

source§

impl<T> IsSubclassable<T> for Dialog
where T: DialogImpl,

source§

impl<T> IsSubclassable<T> for DrawingArea
where T: DrawingAreaImpl,

source§

impl<T> IsSubclassable<T> for Entry
where T: EntryImpl,

source§

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

source§

impl<T> IsSubclassable<T> for EntryBuffer
where T: EntryBufferImpl,

source§

impl<T> IsSubclassable<T> for Filter
where T: FilterImpl,

source§

impl<T> IsSubclassable<T> for Fixed
where T: FixedImpl,

source§

impl<T> IsSubclassable<T> for FlowBoxChild

source§

impl<T> IsSubclassable<T> for Frame
where T: FrameImpl,

source§

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

source§

impl<T> IsSubclassable<T> for GLArea
where T: GLAreaImpl,

source§

impl<T> IsSubclassable<T> for Grid
where T: GridImpl,

source§

impl<T> IsSubclassable<T> for IMContext
where T: IMContextImpl,

source§

impl<T> IsSubclassable<T> for LayoutChild
where T: LayoutChildImpl,

source§

impl<T> IsSubclassable<T> for LayoutManager

source§

impl<T> IsSubclassable<T> for ListBoxRow
where T: ListBoxRowImpl,

source§

impl<T> IsSubclassable<T> for MediaFile
where T: MediaFileImpl,

source§

impl<T> IsSubclassable<T> for MediaStream
where T: MediaStreamImpl,

source§

impl<T> IsSubclassable<T> for NativeDialog

source§

impl<T> IsSubclassable<T> for Popover
where T: PopoverImpl,

source§

impl<T> IsSubclassable<T> for PrintOperation

source§

impl<T> IsSubclassable<T> for Range
where T: RangeImpl,

source§

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

source§

impl<T> IsSubclassable<T> for RecentManager

source§

impl<T> IsSubclassable<T> for Scale
where T: ScaleImpl,

source§

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

source§

impl<T> IsSubclassable<T> for ScaleButton
where T: ScaleButtonImpl,

source§

impl<T> IsSubclassable<T> for Sorter
where T: SorterImpl,

source§

impl<T> IsSubclassable<T> for StyleContext

source§

impl<T> IsSubclassable<T> for TextBuffer
where T: TextBufferImpl,

source§

impl<T> IsSubclassable<T> for TextView
where T: TextViewImpl,

source§

impl<T> IsSubclassable<T> for ToggleButton

source§

impl<T> IsSubclassable<T> for TreeModelFilter

source§

impl<T> IsSubclassable<T> for TreeView
where T: TreeViewImpl,

source§

impl<T> IsSubclassable<T> for Widget
where T: WidgetImpl,

source§

impl<T> IsSubclassable<T> for Window
where T: WindowImpl,

source§

impl<T> IsSubclassable<T> for WindowGroup
where T: WindowGroupImpl,

source§

impl<T> IsSubclassable<T> for BuilderCScope

source§

impl<T> IsSubclassable<T> for PixbufAnimation

source§

impl<T> IsSubclassable<T> for PixbufLoader

source§

impl<T> IsSubclassable<T> for PixbufAnimationIter

source§

impl<T> IsSubclassable<T> for Application
where T: ApplicationImpl,

source§

impl<T> IsSubclassable<T> for InputStream
where T: InputStreamImpl,

source§

impl<T> IsSubclassable<T> for IOStream
where T: IOStreamImpl,

source§

impl<T> IsSubclassable<T> for OutputStream

source§

impl<T> IsSubclassable<T> for SocketControlMessage

§

impl<T> IsSubclassable<T> for ActionRow
where T: ActionRowImpl,

§

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

§

impl<T> IsSubclassable<T> for Application
where T: AdwApplicationImpl,

§

impl<T> IsSubclassable<T> for ApplicationWindow
where T: AdwApplicationWindowImpl,

§

impl<T> IsSubclassable<T> for Bin
where T: BinImpl,

§

impl<T> IsSubclassable<T> for ComboRow
where T: ComboRowImpl,

§

impl<T> IsSubclassable<T> for EntryRow
where T: EntryRowImpl,

§

impl<T> IsSubclassable<T> for ExpanderRow
where T: ExpanderRowImpl,

§

impl<T> IsSubclassable<T> for MessageDialog
where T: MessageDialogImpl,

§

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

§

impl<T> IsSubclassable<T> for PreferencesGroup
where T: PreferencesGroupImpl,

§

impl<T> IsSubclassable<T> for PreferencesPage
where T: PreferencesPageImpl,

§

impl<T> IsSubclassable<T> for PreferencesRow
where T: PreferencesRowImpl,

§

impl<T> IsSubclassable<T> for PreferencesWindow
where T: PreferencesWindowImpl,

§

impl<T> IsSubclassable<T> for Window
where T: AdwWindowImpl,

Implementors§