Sha256: 1758e3edd056884eccadd995708d1e374ba9aa65846bd0e13b1aae852607c560

Contents?: true

Size: 194 Bytes

Versions: 38

Compression:

Stored size: 194 Bytes

Contents

/// A simple binary sum type.
///
/// This is occasionally useful in an ad hoc fashion.
#[derive(Clone, Debug, Eq, PartialEq)]
pub enum Either<Left, Right> {
    Left(Left),
    Right(Right),
}

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
wasmtime-14.0.3 ./ext/cargo-vendor/regex-syntax-0.8.2/src/either.rs
wasmtime-14.0.1 ./ext/cargo-vendor/regex-syntax-0.8.2/src/either.rs
wasmtime-14.0.0 ./ext/cargo-vendor/regex-syntax-0.8.2/src/either.rs
wasmtime-13.0.0 ./ext/cargo-vendor/regex-syntax-0.7.4/src/either.rs
wasmtime-12.0.1 ./ext/cargo-vendor/regex-syntax-0.7.4/src/either.rs
wasmtime-12.0.0 ./ext/cargo-vendor/regex-syntax-0.7.4/src/either.rs
wasmtime-11.0.0 ./ext/cargo-vendor/regex-syntax-0.7.4/src/either.rs
wasmtime-10.0.1 ./ext/cargo-vendor/regex-syntax-0.7.4/src/either.rs
wasmtime-10.0.0 ./ext/cargo-vendor/regex-syntax-0.7.4/src/either.rs
wasmtime-9.0.4 ./ext/cargo-vendor/regex-syntax-0.7.4/src/either.rs
wasmtime-9.0.1 ./ext/cargo-vendor/regex-syntax-0.7.2/src/either.rs
wasmtime-8.0.0 ./ext/cargo-vendor/regex-syntax-0.6.29/src/either.rs
wasmtime-7.0.0 ./ext/cargo-vendor/regex-syntax-0.6.29/src/either.rs
wasmtime-6.0.1 ./ext/cargo-vendor/regex-syntax-0.6.28/src/either.rs
wasmtime-6.0.0 ./ext/cargo-vendor/regex-syntax-0.6.28/src/either.rs
wasmtime-5.0.0 ./ext/cargo-vendor/regex-syntax-0.6.28/src/either.rs
wasmtime-0.4.1 ./ext/cargo-vendor/regex-syntax-0.6.28/src/either.rs
wasmtime-0.4.0 ./ext/cargo-vendor/regex-syntax-0.6.28/src/either.rs