pub trait PropEl {
const FORMAT: u8;
}Expand description
Trait for element in a property list
In events (e.g. GetProperty::value), it allows to assert that the format
correspond to the type cast and therefore to do the cast safely at runtime.
In request (e.g. ChangeProperty::data), it allows to infer the format value
from the type of passed data.
Required Associated Constants§
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.