MCPcopy Create free account
hub / github.com/PerroEngine/Perro / popped

Method popped

perro_source/core/perro_structs/src/structs/bit_mask.rs:242–253  ·  view source on GitHub ↗
(self, layers: L)

Source from the content-addressed store, hash-verified

240
241 #[inline]
242 pub fn popped<L>(self, layers: L) -> Self
243 where
244 L: IntoBitMaskLayers,
245 {
246 Self(
247 self.bits()
248 & !layers
249 .into_bitmask()
250 .expect("BitMask layer must be 1..=32")
251 .bits(),
252 )
253 }
254
255 #[inline]
256 pub fn without<L>(layers: L) -> Self

Calls 3

into_bitmaskMethod · 0.80
bitsMethod · 0.45
expectMethod · 0.45