Docs.rs
  • either_of-0.1.6
    • either_of 0.1.6
    • Permalink
    • Docs.rs crate page
    • MIT
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • benwis
    • gbj
    • Dependencies
      • paste ^1.0.15 normal
      • pin-project-lite ^0.2.16 normal
    • Versions
    • 0.14% of the crate is documented
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

either_of0.1.6

  • All Items

Crate Items

  • Macros
  • Enums
  • Traits

Crate either_of

Source
Expand description

Utilities for working with enumerated types that contain one of 2..n other types.

Macros§

either
Matches over the first expression and returns an either (Either, EitherOf3, … EitherOf8) composed of the values returned by the match arms.

Enums§

Either
EitherFuture
EitherOf3
EitherOf4
EitherOf5
EitherOf6
EitherOf7
EitherOf8
EitherOf9
EitherOf3Future
EitherOf4Future
EitherOf5Future
EitherOf6Future
EitherOf7Future
EitherOf8Future
EitherOf9Future
EitherOf10
EitherOf11
EitherOf12
EitherOf13
EitherOf14
EitherOf15
EitherOf16
EitherOf10Future
EitherOf11Future
EitherOf12Future
EitherOf13Future
EitherOf14Future
EitherOf15Future
EitherOf16Future

Traits§

EitherOr