pub struct Function {
pub start: Span,
pub end: Span,
pub name: SimpleIdentifier,
pub attributes: Vec<AttributeGroup>,
pub parameters: FunctionParameterList,
pub return_type: Option<Type>,
pub by_ref: bool,
pub body: Block,
}Fields§
§start: Span§end: Span§name: SimpleIdentifier§attributes: Vec<AttributeGroup>§parameters: FunctionParameterList§return_type: Option<Type>§by_ref: bool§body: BlockTrait 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