distinct

Crates.iodistinct
lib.rsdistinct
version0.1.1
created_at2020-06-21 16:49:05.240024+00
updated_at2020-06-21 16:58:58.484951+00
descriptionTwo traits for enforcing that two types either must be the same or must be different.
homepage
repositoryhttps://github.com/JarredAllen/distinct
max_upload_size
id256364
size16,405
Jarred Allen (JarredAllen)

documentation

README

distinct

Crates.io Page Docs.rs Page

Two traits for enforcing that two types either must be the same or must be different.

Usage

To use in your crate, add this to your Cargo.toml:

[dependencies]
distinct = "0.1.1"

and add this where you want to use it:

use distinct::{Distinct, NonDistinct};

For full documentation on how to use it, consult this crate's documentation on docs.rs.

Commit count: 0

cargo fmt