Struct mun_syntax::ast::StructDef
source · pub struct StructDef { /* private fields */ }
Implementations§
source§impl StructDef
impl StructDef
pub fn kind(&self) -> StructKind
pub fn signature_range(&self) -> TextRange
source§impl StructDef
impl StructDef
pub fn memory_type_specifier(&self) -> Option<MemoryTypeSpecifier>
Trait Implementations§
source§impl AstNode for StructDef
impl AstNode for StructDef
fn can_cast(kind: SyntaxKind) -> bool
fn cast(syntax: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
source§impl DocCommentsOwner for StructDef
impl DocCommentsOwner for StructDef
fn doc_comments(&self) -> CommentIter ⓘ
source§impl From<StructDef> for ModuleItem
impl From<StructDef> for ModuleItem
source§fn from(n: StructDef) -> ModuleItem
fn from(n: StructDef) -> ModuleItem
Converts to this type from the input type.