Struct mun_syntax::ast::FunctionDef
source · pub struct FunctionDef { /* private fields */ }
Implementations§
source§impl FunctionDef
impl FunctionDef
pub fn signature_range(&self) -> TextRange
Trait Implementations§
source§impl AstNode for FunctionDef
impl AstNode for FunctionDef
fn can_cast(kind: SyntaxKind) -> bool
fn cast(syntax: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
source§impl Clone for FunctionDef
impl Clone for FunctionDef
source§fn clone(&self) -> FunctionDef
fn clone(&self) -> FunctionDef
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FunctionDef
impl Debug for FunctionDef
source§impl DocCommentsOwner for FunctionDef
impl DocCommentsOwner for FunctionDef
fn doc_comments(&self) -> CommentIter ⓘ
source§impl ExternOwner for FunctionDef
impl ExternOwner for FunctionDef
source§impl From<FunctionDef> for ModuleItem
impl From<FunctionDef> for ModuleItem
source§fn from(n: FunctionDef) -> ModuleItem
fn from(n: FunctionDef) -> ModuleItem
Converts to this type from the input type.