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

Method intersects

perro_source/core/perro_structs/src/structs/bit_mask.rs:279–281  ·  view source on GitHub ↗
(self, other: Self)

Source from the content-addressed store, hash-verified

277
278 #[inline]
279 pub const fn intersects(self, other: Self) -> bool {
280 (self.bits() & other.bits()) != 0
281 }
282
283 #[inline]
284 pub const fn is_empty(self) -> bool {

Callers 15

bitmask_scene_textFunction · 0.80
bitmask_layersFunction · 0.80
bench_bitmask_query_opsFunction · 0.80
can_collideMethod · 0.80
eval_expr_with_typeFunction · 0.80
blended_water_samples_2dFunction · 0.80
blended_water_samples_3dFunction · 0.80

Calls 1

bitsMethod · 0.45

Tested by 3

bitmask_scene_textFunction · 0.64
bitmask_layersFunction · 0.64