SchemaTypeLink

Trait SchemaTypeLink 

Source
pub trait SchemaTypeLink:
    Debug
    + Clone
    + PartialEq
    + Eq
    + From<WellKnownTypeId> { }
Expand description

Marker trait for a link between TypeKinds:

  • RustTypeId: A global identifier for a type (a well known id, or type hash)
  • LocalTypeId: A link in the context of a schema (a well known id, or a local type index)

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§