pub trait Id<C: Control>:
Clone
+ Eq
+ PartialEq
+ Into<Fun<C::Payload>>
+ Into<C>
+ TryFrom<C, Error = C>
+ Debug
+ Serialize
+ DeserializeOwned { }
Expand description
A type of serializable names that map to control callbacks.
A type implementing Id is convertible with the C:Control
type and maps to
a control Fun
taking the payload specified by the Control type.
This is the serializable type representing a control callback Fun used for saving and loading bindings.
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.