Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
toggle_selected_inspector_bitmask_bit
Function · 0.80
bitmask_scene_text
Function · 0.80
bitmask_layers
Function · 0.80
bench_bitmask_query_ops
Function · 0.80
can_collide
Method · 0.80
eval_expr_with_type
Function · 0.80
apply_force_emitter_2d
Method · 0.80
apply_force_emitter_3d
Method · 0.80
queue_force_water_impacts_2d
Method · 0.80
queue_force_water_impacts_3d
Method · 0.80
blended_water_samples_2d
Function · 0.80
blended_water_samples_3d
Function · 0.80
Calls
1
bits
Method · 0.45
Tested by
3
toggle_selected_inspector_bitmask_bit
Function · 0.64
bitmask_scene_text
Function · 0.64
bitmask_layers
Function · 0.64