Trait DataType

Source
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§

Source

type Tree: Debug

Type of associated data on the Tree.

Source

type ObjectPath: Debug

Type of associated data on every ObjectPath.

Source

type Property: Debug

Type of associated data on every Property.

Source

type Interface: Debug

Type of associated data on every Interface.

Source

type Method: Debug

Type of associated data on every Method.

Source

type Signal: Debug

Type of associated data on every Signal.

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.

Implementations on Foreign Types§

Source§

impl DataType for ()

No associated data for the tree.

Implementors§