family-derive

Crates.iofamily-derive
lib.rsfamily-derive
version0.1.1
sourcesrc
created_at2023-03-07 15:03:55.050661
updated_at2023-03-07 15:31:19.6863
descriptionDerive macros for family
homepage
repositoryhttps://github.com/open-mv-sandbox/family-rs
max_upload_size
id803677
size3,792
Layl (LaylBongers)

documentation

README

Family - I can't believe it's not HKT!

⚠️ This crate's any module uses unsafe code that has not been properly audited for soundness.

A small family pattern implementation, implementing "associated type constructors". Additionally provides some dynamic casting utilities that make use of families and members.

See this post for more information: http://smallcultfollowing.com/babysteps/blog/2016/11/03/associated-type-constructors-part-2-family-traits/

Crates

  • Crates.io docs.rs
  • Crates.io docs.rs

License

Licensed under either of

at your option.

Commit count: 13

cargo fmt