Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ is_specifier
Method
is_specifier
crates/common/src/cformat.rs:724–726 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
722
impl<T> CFormatPart<T> {
723
#[inline]
724
pub const fn is_specifier(&self) -> bool {
725
matches!(self, Self::Spec { .. })
726
}
727
728
#[inline]
729
pub const fn has_key(&self) -> bool {
Callers
1
check_specifiers
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected