gtk4/subclass/
box_.rs

1
2
3
4
5
6
7
8
9
10
// Take a look at the license at the top of the repository in the LICENSE file.

// rustdoc-stripper-ignore-next
//! Traits intended for subclassing [`Box`].

use crate::{prelude::*, subclass::prelude::*, Box};

pub trait BoxImpl: WidgetImpl + ObjectSubclass<Type: IsA<Box>> {}

unsafe impl<T: BoxImpl> IsSubclassable<T> for Box {}