pub trait NodeTypeInfo:
Clone
+ Debug
+ Display
+ PartialEq
+ Serialize
+ for<'de> Deserialize<'de> {
// Required methods
fn type_query(&self) -> TypeQuery<'_>;
fn are_compatible(&self, other: &Self) -> bool;
}
Required Methods§
fn type_query(&self) -> TypeQuery<'_>
fn are_compatible(&self, other: &Self) -> bool
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.