pub struct MatchPartial { /* private fields */ }
Implementations§
Source§impl MatchPartial
impl MatchPartial
pub fn match_token(&self) -> Option<SyntaxToken>
pub fn partial_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for MatchPartial
impl AstNode for MatchPartial
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 MatchPartial
impl Clone for MatchPartial
Source§fn clone(&self) -> MatchPartial
fn clone(&self) -> MatchPartial
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 MatchPartial
impl Debug for MatchPartial
Source§impl From<MatchPartial> for MatchType
impl From<MatchPartial> for MatchType
Source§fn from(node: MatchPartial) -> MatchType
fn from(node: MatchPartial) -> MatchType
Converts to this type from the input type.
Source§impl Hash for MatchPartial
impl Hash for MatchPartial
Source§impl PartialEq for MatchPartial
impl PartialEq for MatchPartial
impl Eq for MatchPartial
impl StructuralPartialEq for MatchPartial
Auto Trait Implementations§
impl Freeze for MatchPartial
impl !RefUnwindSafe for MatchPartial
impl !Send for MatchPartial
impl !Sync for MatchPartial
impl Unpin for MatchPartial
impl !UnwindSafe for MatchPartial
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