intuicio_nodes::nodes

Trait NodeTypeInfo

Source
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§

Source

fn type_query(&self) -> TypeQuery<'_>

Source

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.

Implementors§