pub trait RelationTrait:
IntoEnumIterator
+ Debug
+ 'static {
// Required method
fn def(&self) -> RelationDef;
// Provided method
fn name(&self) -> String { ... }
}Expand description
Defines the relations of an Entity
Required Methods§
Sourcefn def(&self) -> RelationDef
fn def(&self) -> RelationDef
Creates a RelationDef
Provided Methods§
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.