pub struct YamlFunction {
pub name: String,
pub file: String,
pub line: usize,
pub returns: String,
pub parameters: Option<Vec<String>>,
pub docstring: Option<String>,
pub attributes: Vec<String>,
pub calls: Vec<YamlCall>,
}Expand description
YAML representation of a function or method.
Fields§
§name: String§file: String§line: usize§returns: String§parameters: Option<Vec<String>>§docstring: Option<String>§attributes: Vec<String>§calls: Vec<YamlCall>Trait Implementations§
Source§impl Debug for YamlFunction
impl Debug for YamlFunction
Auto Trait Implementations§
impl Freeze for YamlFunction
impl RefUnwindSafe for YamlFunction
impl Send for YamlFunction
impl Sync for YamlFunction
impl Unpin for YamlFunction
impl UnwindSafe for YamlFunction
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