Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ has_feature
Method
has_feature
crates/vm/src/types/slot.rs:254–256 ·
view source on GitHub ↗
(self, flag: Self)
Source
from the content-addressed store, hash-verified
252
}
253
254
pub const fn has_feature(self, flag: Self) -> bool {
255
self.contains(flag)
256
}
257
258
#[cfg(debug_assertions)]
259
pub const fn is_created_with_flags(self) -> bool {
Callers
15
extend_class
Method · 0.80
execute_instruction
Method · 0.80
specialize_load_attr
Method · 0.80
specialize_class_load_attr
Method · 0.80
specialize_binary_op
Method · 0.80
specialize_call
Method · 0.80
specialize_to_bool
Method · 0.80
_clear_type_descriptors
Function · 0.80
generic_alloc
Function · 0.80
object_getstate_default
Function · 0.80
set___class__
Method · 0.80
new_heap_inner
Method · 0.80
Calls
1
contains
Method · 0.45
Tested by
no test coverage detected