Skip to main content

luaur_analysis/functions/
operator_bitand_control_flow.rs

1use crate::enums::control_flow::ControlFlow;
2
3#[allow(non_snake_case)]
4pub fn operator_bitand(a: ControlFlow, b: ControlFlow) -> ControlFlow {
5    ControlFlow::from_bits(a as u32 & b as u32)
6}
7
8impl core::ops::BitAnd for ControlFlow {
9    type Output = Self;
10
11    fn bitand(self, rhs: Self) -> Self::Output {
12        operator_bitand(self, rhs)
13    }
14}
15
16// Pinned overload name advertised by the dependency cards.
17#[allow(unused_imports, non_snake_case)]
18pub use operator_bitand as operator_bitand_control_flow_control_flow;