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

Method pushed

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

Source from the content-addressed store, hash-verified

218
219 #[inline]
220 pub fn pushed<L>(self, layers: L) -> Self
221 where
222 L: IntoBitMaskLayers,
223 {
224 Self(
225 self.bits()
226 | layers
227 .into_bitmask()
228 .expect("BitMask layer must be 1..=32")
229 .bits(),
230 )
231 }
232
233 #[inline]
234 pub fn pop<L>(&mut self, layers: L)

Calls 3

into_bitmaskMethod · 0.80
bitsMethod · 0.45
expectMethod · 0.45