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