├── .github └── workflows │ └── rust.yml ├── .gitignore ├── CHANGELOG.md ├── Cargo.toml ├── LICENSE ├── README.md ├── src ├── derive.rs ├── error.rs ├── idents.rs ├── input.rs └── lib.rs └── tests ├── derived_and.rs ├── derived_and_then.rs ├── derived_expect.rs ├── derived_is_and_is_not.rs ├── derived_mut.rs ├── derived_ok.rs ├── derived_ok_mut_or.rs ├── derived_ok_mut_or_else.rs ├── derived_ok_or.rs ├── derived_ok_or_else.rs ├── derived_ok_ref_or.rs ├── derived_ok_ref_or_else.rs ├── derived_or.rs ├── derived_or_else.rs ├── derived_ref.rs ├── derived_unwrap.rs ├── derived_unwrap_or.rs ├── derived_unwrap_or_else.rs ├── helper.rs └── std_imports.rs /.github/workflows/rust.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luker-os/variantly/HEAD/.github/workflows/rust.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luker-os/variantly/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luker-os/variantly/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luker-os/variantly/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luker-os/variantly/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luker-os/variantly/HEAD/README.md -------------------------------------------------------------------------------- /src/derive.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luker-os/variantly/HEAD/src/derive.rs -------------------------------------------------------------------------------- /src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luker-os/variantly/HEAD/src/error.rs -------------------------------------------------------------------------------- /src/idents.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luker-os/variantly/HEAD/src/idents.rs -------------------------------------------------------------------------------- /src/input.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luker-os/variantly/HEAD/src/input.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luker-os/variantly/HEAD/src/lib.rs -------------------------------------------------------------------------------- /tests/derived_and.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luker-os/variantly/HEAD/tests/derived_and.rs -------------------------------------------------------------------------------- /tests/derived_and_then.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luker-os/variantly/HEAD/tests/derived_and_then.rs -------------------------------------------------------------------------------- /tests/derived_expect.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luker-os/variantly/HEAD/tests/derived_expect.rs -------------------------------------------------------------------------------- /tests/derived_is_and_is_not.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luker-os/variantly/HEAD/tests/derived_is_and_is_not.rs -------------------------------------------------------------------------------- /tests/derived_mut.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luker-os/variantly/HEAD/tests/derived_mut.rs -------------------------------------------------------------------------------- /tests/derived_ok.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luker-os/variantly/HEAD/tests/derived_ok.rs -------------------------------------------------------------------------------- /tests/derived_ok_mut_or.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luker-os/variantly/HEAD/tests/derived_ok_mut_or.rs -------------------------------------------------------------------------------- /tests/derived_ok_mut_or_else.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luker-os/variantly/HEAD/tests/derived_ok_mut_or_else.rs -------------------------------------------------------------------------------- /tests/derived_ok_or.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luker-os/variantly/HEAD/tests/derived_ok_or.rs -------------------------------------------------------------------------------- /tests/derived_ok_or_else.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luker-os/variantly/HEAD/tests/derived_ok_or_else.rs -------------------------------------------------------------------------------- /tests/derived_ok_ref_or.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luker-os/variantly/HEAD/tests/derived_ok_ref_or.rs -------------------------------------------------------------------------------- /tests/derived_ok_ref_or_else.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luker-os/variantly/HEAD/tests/derived_ok_ref_or_else.rs -------------------------------------------------------------------------------- /tests/derived_or.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luker-os/variantly/HEAD/tests/derived_or.rs -------------------------------------------------------------------------------- /tests/derived_or_else.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luker-os/variantly/HEAD/tests/derived_or_else.rs -------------------------------------------------------------------------------- /tests/derived_ref.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luker-os/variantly/HEAD/tests/derived_ref.rs -------------------------------------------------------------------------------- /tests/derived_unwrap.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luker-os/variantly/HEAD/tests/derived_unwrap.rs -------------------------------------------------------------------------------- /tests/derived_unwrap_or.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luker-os/variantly/HEAD/tests/derived_unwrap_or.rs -------------------------------------------------------------------------------- /tests/derived_unwrap_or_else.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luker-os/variantly/HEAD/tests/derived_unwrap_or_else.rs -------------------------------------------------------------------------------- /tests/helper.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luker-os/variantly/HEAD/tests/helper.rs -------------------------------------------------------------------------------- /tests/std_imports.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luker-os/variantly/HEAD/tests/std_imports.rs --------------------------------------------------------------------------------