unsized_enum

Crates.iounsized_enum
lib.rsunsized_enum
version0.0.2
sourcesrc
created_at2020-08-06 23:22:16.537623
updated_at2020-08-07 21:44:07.553394
descriptionUnsized enum implementation
homepage
repositoryhttps://github.com/uazu/unsized_enum
max_upload_size
id273777
size36,287
Jim Peters (uazu)

documentation

https://docs.rs/unsized_enum

README

Unsized enums

Rust does not support unsized (?Sized) variants in an enum. This crate provides an unsized enum with one unsized variant and one sized variant, returned boxed along with a common base structure. The enum may be read and modified, including switching variants, even through a trait object reference.

Documentation

See the crate documentation.

License

This project is licensed under either the Apache License version 2 or the MIT license, at your option. (See LICENSE-APACHE and LICENSE-MIT).

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Commit count: 2

cargo fmt