<commit_before># impl_ops [![Build Status]][travis] [![Latest Version]][crates.io]

[Build Status]: https://api.travis-ci.org/brianwp3000/impl_ops.svg?branch=master
[travis]: https://travis-ci.org/brianwp3000/impl_ops
[Latest Version]: https://img.shields.io/crates/v/impl_ops.svg
[crates.io]: https://crates.io/crates/impl_ops

Macros for easy operator overloading.

[Documentation](https://docs.rs/impl_ops/)

This library make writing multiple `impl std::ops::<op>` blocks much faster, especially when you want operators defined for both owned and borrowed variants of the inputs.

To use, include `#[macro_use] extern crate impl_ops;` in your crate and `use std::ops;` in your module. Remember that you can only overload operators between one or more types defined in the current crate.
# Examples
```rust
#[macro_use] extern crate impl_ops;
use std::ops;

#[derive(Clone, Debug, PartialEq)]
struct DonkeyKong {
    pub bananas: i32,
}
impl DonkeyKong {<commit_msg>fix minor typo in README<commit_after># impl_ops [![Build Status]][travis] [![Latest Version]][crates.io]

[Build Status]: https://api.travis-ci.org/brianwp3000/impl_ops.svg?branch=master
[travis]: https://travis-ci.org/brianwp3000/impl_ops
[Latest Version]: https://img.shields.io/crates/v/impl_ops.svg
[crates.io]: https://crates.io/crates/impl_ops

Macros for easy operator overloading.

[Documentation](https://docs.rs/impl_ops/)

This library makes writing multiple `impl std::ops::<op>` blocks much faster, especially when you want operators defined for both owned and borrowed variants of the inputs.

To use, include `#[macro_use] extern crate impl_ops;` in your crate and `use std::ops;` in your module. Remember that you can only overload operators between one or more types defined in the current crate.
# Examples
```rust
#[macro_use] extern crate impl_ops;
use std::ops;

#[derive(Clone, Debug, PartialEq)]
struct DonkeyKong {
    pub bananas: i32,
}
impl DonkeyKong {
{'fraction_non_alphanumeric': 0.12615384615384614, 'fraction_numerical': 0.010256410256410256, 'mean_word_length': 5.438943894389439, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 10, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '847178', 'n_tokens_mistral': 647, 'n_tokens_neox': 636, 'n_words': 200}