pub struct Function {
pub captured: String,
pub name: String,
pub is_local: bool,
pub rtype: String,
pub args: String,
pub atypes: String,
pub anames: String,
}
Expand description
identifiers in the list of “fncs”
Fields§
§captured: String
captured string by regex; ex) “void setDir(const Direction_t dir)\n{”
name: String
name; ex) “setDir”
is_local: bool
true if the function is static; ex) false
rtype: String
return data type; ex) “void”
args: String
arguments; ex) “const Direction_t dir”
atypes: String
argument data types; ex) “const Direction_t”
anames: String
argument names; ex) “dir”
Trait Implementations§
source§impl<'de> Deserialize<'de> for Function
impl<'de> Deserialize<'de> for Function
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for Function
impl Send for Function
impl Sync for Function
impl Unpin for Function
impl UnwindSafe for Function
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more