Guillaume Gomez 0c33197b90 Rollup merge of #35993 - matthew-piziak:bitwise-and-redux, r=GuillaumeGomez
improve `BitAnd` trait documentation

This pull request is based on the discussion in PR #35927.

Add a module-level note that `&&` and `||` are short-circuiting operators and not overloadable.

Add a simple `Scalar` example that lifts the `&` operator to a trivial struct tuple.

Make `BooleanVector` a struct tuple.

Derive `PartialEq` for `BooleanVector` instead of implementing it.

Adds a `fn main` wrapper so that the example can integrate with Rust Playground.
2016-08-30 10:39:06 +02:00
..
2016-08-24 22:12:23 +00:00
2016-08-24 22:12:23 +00:00
2016-08-24 22:12:23 +00:00
2016-08-24 22:12:23 +00:00
2016-08-24 22:12:23 +00:00
2016-08-24 22:12:23 +00:00
2016-08-24 22:12:23 +00:00
2016-08-24 22:12:23 +00:00
2016-08-24 22:12:23 +00:00
2016-08-24 22:12:23 +00:00
2016-08-24 22:12:23 +00:00
2016-08-24 22:12:23 +00:00
2016-08-24 22:12:23 +00:00
2016-08-04 04:33:50 +03:00
2016-08-24 22:12:23 +00:00
2016-08-24 22:12:23 +00:00
2016-08-24 22:12:23 +00:00
2016-08-05 17:52:37 -04:00
2016-08-24 22:12:23 +00:00
2016-08-24 22:12:23 +00:00
2016-08-24 22:12:23 +00:00