summaryrefslogtreecommitdiff
path: root/src/codegen/struct_layout.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2017-05-11 12:40:39 -0500
committerGitHub <noreply@github.com>2017-05-11 12:40:39 -0500
commit62ffd416a4f918f92b960c28eae0f2e6cf6769ac (patch)
tree579ccbe51e25a45bc0675c300d81d519eb17fe0a /src/codegen/struct_layout.rs
parentd4f83a968ae21b31e761585879863ae00ca5061c (diff)
parentdafa5a54ab82c9ffa8ec52e5624c38d5c5ac7084 (diff)
Auto merge of #698 - jonhoo:more-bitops, r=fitzgen
Add other bitwise ops for bitflag enums Currently, bitflag enums only implement `BitOr`. However, it is fairly common to `&` bitflags, requiring the `BitAnd` trait to be implemented as well. I also implemented `BitOrAssign` and `BitAndAssign` in the process.
Diffstat (limited to 'src/codegen/struct_layout.rs')
0 files changed, 0 insertions, 0 deletions