Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dtolnay/thiserror
/ is_backtrace
Method
is_backtrace
impl/src/prop.rs:73–75 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
71
72
impl Field<'_> {
73
pub(crate) fn is_backtrace(&self) -> bool {
74
type_is_backtrace(self.ty)
75
}
76
77
pub(crate) fn source_span(&self) -> Span {
78
if let Some(source_attr) = &self.attrs.source {
Callers
2
backtrace_field
Function · 0.80
check_field_attrs
Function · 0.80
Calls
1
type_is_backtrace
Function · 0.85
Tested by
no test coverage detected