pub trait ConcreteObject: Object {
const XML_VERSION: u32;
const INTERFACE: ObjectInterface;
const INTERFACE_NAME: &str;
}Expand description
A concrete (not dyn) object.
Required Associated Constants§
Sourceconst XML_VERSION: u32
const XML_VERSION: u32
The interface version from the XML file that the interface was generated from.
Sourceconst INTERFACE: ObjectInterface
const INTERFACE: ObjectInterface
The interface of the object.
Sourceconst INTERFACE_NAME: &str
const INTERFACE_NAME: &str
The interface of the object as a string.
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.