pub trait Interface {
const CATALOG: &'static CatalogRef;
const NUMBER: InterfaceNo;
const PROVISIONAL: bool;
const NAME: &'static str;
const MEMBERS: &'static [Member];
}Expand description
An interface’s descriptor.
Required Associated Constants§
Sourceconst CATALOG: &'static CatalogRef
const CATALOG: &'static CatalogRef
The catalog the interface belongs to.
Sourceconst NUMBER: InterfaceNo
const NUMBER: InterfaceNo
The interface number in that catalog.
Sourceconst PROVISIONAL: bool
const PROVISIONAL: bool
true when the number is provisional, not yet frozen in the lock file.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".