Graphite/libraries/dyn-any
Dennis Kobert 5dab7de68d Add type checking to the node graph (#1025)
* Implement type inference

Add type hints to node trait

Add type annotation infrastructure

Refactor type ascription infrastructure

Run cargo fix

Insert infer types stub

Remove types from node identifier

* Implement covariance

* Disable rejection of generic inputs + parameters

* Fix lints

* Extend type checking to cover Network inputs

* Implement generic specialization

* Relax covariance rules

* Fix type annotations for TypErasedComposeNode

* Fix type checking errors

* Keep connection information during node resolution
* Fix TypeDescriptor PartialEq implementation

* Apply review suggestions

* Add documentation to type inference

* Add Imaginate node to document node types

* Fix whitespace in macros

* Add types to imaginate node

* Fix type declaration for imaginate node + add console logging

* Use fully qualified type names as fallback during comparison

---------

Co-authored-by: Keavon Chambers <keavon@keavon.com>
2023-02-15 23:31:30 +01:00
..
derive Show all nodes with no selection (#893) 2022-12-21 11:12:33 +00:00
src Add type checking to the node graph (#1025) 2023-02-15 23:31:30 +01:00
Cargo.toml Update project readme and MSRV 2023-01-24 01:33:30 -08:00
LICENSE-APACHE Integrate dyn-any into the main graphite repo 2022-08-04 08:52:24 +02:00
LICENSE-MIT Integrate dyn-any into the main graphite repo 2022-08-04 08:52:24 +02:00
README.md Integrate dyn-any into the main graphite repo 2022-08-04 08:52:24 +02:00

DynAny Trait

A Any-like trait and derive macros for non 'static lifetimes.