MCPcopy Create free account
hub / github.com/SeaQL/FireDBG.for.Rust / fn_name

Method fn_name

parser/src/def/function.rs:115–123  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

113 }
114
115 pub fn fn_name(&self) -> &str {
116 match &self {
117 FunctionType::FreeFn { fn_name, .. } => fn_name,
118 FunctionType::ImplFn { fn_name, .. } => fn_name,
119 FunctionType::ImplTraitFn { fn_name, .. } => fn_name,
120 FunctionType::TraitDefaultFn { fn_name, .. } => fn_name,
121 FunctionType::NestedFn { fn_name, .. } => fn_name,
122 }
123 }
124
125 pub fn is_async(&self) -> bool {
126 match *self {

Callers 2

new_breakpointFunction · 0.80
into_nested_funcMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected