pub trait DataType: Sized + Default {
type Tree: Debug;
type ObjectPath: Debug;
type Property: Debug;
type Interface: Debug;
type Method: Debug;
type Signal: Debug;
}
Expand description
Associated data for different objects in a tree.
These currently require a debug bound, due to https://github.com/rust-lang/rust/issues/31518
Required Associated Types§
Sourcetype ObjectPath: Debug
type ObjectPath: Debug
Type of associated data on every ObjectPath.
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.