wayland_commons::map

Trait ObjectMetadata

Source
pub trait ObjectMetadata: Clone {
    // Required method
    fn child(&self) -> Self;
}
Expand description

A trait representing the metadata a wayland implementation may attach to an object.

Required Methods§

Source

fn child(&self) -> Self

Create the metadata for a child object

Mostly needed for client side, to propagate the event queues

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 ObjectMetadata for ()

Source§

fn child(&self)

Implementors§