Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PerroEngine/Perro
/ without_layers
Method
without_layers
perro_source/core/perro_structs/src/structs/bit_mask.rs:207–209 ·
view source on GitHub ↗
(self, layers: [u8; N])
Source
from the content-addressed store, hash-verified
205
206
#[inline]
207
pub const fn without_layers<const N: usize>(self, layers: [u8; N]) -> Self {
208
Self(self.bits() & !Self::with(layers).bits())
209
}
210
211
#[inline]
212
pub fn push<L>(&mut self, layers: L)
Callers
2
layer_helper_combos_match
Function · 0.80
without_layers_stays_const
Function · 0.80
Calls
1
bits
Method · 0.45
Tested by
2
layer_helper_combos_match
Function · 0.64
without_layers_stays_const
Function · 0.64