pub struct MatchSimple { /* private fields */ }
Implementations§
Source§impl MatchSimple
impl MatchSimple
pub fn match_token(&self) -> Option<SyntaxToken>
pub fn simple_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for MatchSimple
impl AstNode for MatchSimple
fn can_cast(kind: SyntaxKind) -> bool
fn cast(syntax: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
Source§impl Clone for MatchSimple
impl Clone for MatchSimple
Source§fn clone(&self) -> MatchSimple
fn clone(&self) -> MatchSimple
Returns a duplicate 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 MatchSimple
impl Debug for MatchSimple
Source§impl From<MatchSimple> for MatchType
impl From<MatchSimple> for MatchType
Source§fn from(node: MatchSimple) -> MatchType
fn from(node: MatchSimple) -> MatchType
Converts to this type from the input type.
Source§impl Hash for MatchSimple
impl Hash for MatchSimple
Source§impl PartialEq for MatchSimple
impl PartialEq for MatchSimple
impl Eq for MatchSimple
impl StructuralPartialEq for MatchSimple
Auto Trait Implementations§
impl Freeze for MatchSimple
impl !RefUnwindSafe for MatchSimple
impl !Send for MatchSimple
impl !Sync for MatchSimple
impl Unpin for MatchSimple
impl !UnwindSafe for MatchSimple
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more