Trait fusebox::subclass::prelude::IsSubclassable

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§

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.

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§

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

impl<T> IsSubclassable<T> for BuilderCScope
where T: BuilderCScopeImpl,

§

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

§

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

§

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

§

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

§

impl<T> IsSubclassable<T> for CellAreaContext
where T: CellAreaContextImpl,

§

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

§

impl<T> IsSubclassable<T> for CellRenderer
where T: CellRendererImpl,

§

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

§

impl<T> IsSubclassable<T> for CellRendererText
where T: CellRendererTextImpl,

§

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

§

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

§

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

§

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

§

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

§

impl<T> IsSubclassable<T> for ContentProvider
where T: ContentProviderImpl,

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

impl<T> IsSubclassable<T> for FlowBoxChild
where T: FlowBoxChildImpl,

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

impl<T> IsSubclassable<T> for LayoutManager
where T: LayoutManagerImpl,

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

impl<T> IsSubclassable<T> for NativeDialog
where T: NativeDialogImpl,

§

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

§

impl<T> IsSubclassable<T> for OutputStream

§

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

§

impl<T> IsSubclassable<T> for PixbufAnimation
where T: PixbufAnimationImpl,

§

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

§

impl<T> IsSubclassable<T> for PixbufAnimationIter
where T: PixbufAnimationIterImpl,

§

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

§

impl<T> IsSubclassable<T> for PixbufLoader
where T: PixbufLoaderImpl,

§

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

§

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

§

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

§

impl<T> IsSubclassable<T> for PrintOperation
where T: PrintOperationImpl,

§

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

§

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

§

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

§

impl<T> IsSubclassable<T> for RecentManager
where T: RecentManagerImpl,

§

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

§

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

§

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

§

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

§

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

§

impl<T> IsSubclassable<T> for SocketControlMessage

§

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

§

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

§

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

§

impl<T> IsSubclassable<T> for StyleContext
where T: StyleContextImpl,

§

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

§

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

§

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

§

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

§

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

§

impl<T> IsSubclassable<T> for ToggleButton
where T: ToggleButtonImpl,

§

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

§

impl<T> IsSubclassable<T> for TreeModelFilter
where T: TreeModelFilterImpl,

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

Implementors§

§

impl<T> IsSubclassable<T> for Object
where T: ObjectImpl,

§

impl<T> IsSubclassable<T> for TypeModule
where T: TypeModuleImpl,

source§

impl<T: FuseImpl> IsSubclassable<T> for Fuse