pub trait ButtonRole:
Sealed
+ 'static
+ Send { }Expand description
Marker trait for a logical button role (e.g. A, B, Up).
The type itself is zero-sized; it exists only to name a resource slot in the
crate::registry::Registry.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".