MCPcopy Create free account
hub / github.com/Lymia/enumset / and_not

Method and_not

enumset/src/repr/array.rs:79–85  ·  view source on GitHub ↗
(&self, other: Self)

Source from the content-addressed store, hash-verified

77 }
78
79 fn and_not(&self, other: Self) -> Self {
80 let mut new = Self([0; N]);
81 for i in 0..N {
82 new.0[i] = self.0[i] & !other.0[i];
83 }
84 new
85 }
86
87 type Iter = ArrayIter<N>;
88 fn iter(self) -> Self::Iter {

Callers 5

remove_allMethod · 0.80
try_from_reprMethod · 0.80
try_from_arrayMethod · 0.80
try_from_sliceMethod · 0.80
remove_allMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected