pub trait StaticType {
// Required method
fn static_type() -> Type;
}
Expand description
Types that are supported by GLib dynamic typing.
Required Methods§
Sourcefn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of Self
.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.