Struct pomelo_parse::ast::declarations::DatatypeDec
source · pub struct DatatypeDec {
syntax: SyntaxNode,
}
Fields§
§syntax: SyntaxNode
Implementations§
Trait Implementations§
source§impl AstNode for DatatypeDec
impl AstNode for DatatypeDec
type Language = SML
fn can_cast(kind: <Self::Language as Language>::Kind) -> boolwhere
Self: Sized,
fn cast(node: SyntaxNode) -> Option<Self>where
Self: Sized,
fn syntax(&self) -> &SyntaxNode
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
source§impl Clone for DatatypeDec
impl Clone for DatatypeDec
source§fn clone(&self) -> DatatypeDec
fn clone(&self) -> DatatypeDec
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 DatatypeDec
impl Debug for DatatypeDec
source§impl Display for DatatypeDec
impl Display for DatatypeDec
source§impl From<DatatypeDec> for Dec
impl From<DatatypeDec> for Dec
source§fn from(x: DatatypeDec) -> Self
fn from(x: DatatypeDec) -> Self
Converts to this type from the input type.