Struct pomelo_parse::ast::declarations::DatatypeRepDec
source · pub struct DatatypeRepDec {
syntax: SyntaxNode,
}
Fields§
§syntax: SyntaxNode
Implementations§
Trait Implementations§
source§impl AstNode for DatatypeRepDec
impl AstNode for DatatypeRepDec
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 DatatypeRepDec
impl Clone for DatatypeRepDec
source§fn clone(&self) -> DatatypeRepDec
fn clone(&self) -> DatatypeRepDec
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 DatatypeRepDec
impl Debug for DatatypeRepDec
source§impl Display for DatatypeRepDec
impl Display for DatatypeRepDec
source§impl From<DatatypeRepDec> for Dec
impl From<DatatypeRepDec> for Dec
source§fn from(x: DatatypeRepDec) -> Self
fn from(x: DatatypeRepDec) -> Self
Converts to this type from the input type.