Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ is_exception_depth1
Method
is_exception_depth1
crates/compiler-core/src/bytecode/oparg.rs:842–844 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
840
/// True if the bit at [`Self::DEPTH1_MASK`] is on.
841
#[must_use]
842
pub const fn is_exception_depth1(&self) -> bool {
843
(self.as_u32() & Self::DEPTH1_MASK) != 0
844
}
845
}
846
847
#[derive(Copy, Clone)]
Callers
nothing calls this directly
Calls
1
as_u32
Method · 0.80
Tested by
no test coverage detected