pub struct Method {
pub start: Span,
pub end: Span,
pub name: SimpleIdentifier,
pub attributes: Vec<AttributeGroup>,
pub parameters: MethodParameterList,
pub body: Option<Block>,
pub modifiers: MethodModifierGroup,
pub return_type: Option<Type>,
pub by_ref: bool,
}Fields§
§start: Span§end: Span§name: SimpleIdentifier§attributes: Vec<AttributeGroup>§parameters: MethodParameterList§body: Option<Block>§modifiers: MethodModifierGroup§return_type: Option<Type>§by_ref: boolTrait Implementations§
source§impl<'de> Deserialize<'de> for Method
impl<'de> Deserialize<'de> for Method
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