pub struct IfExists { /* private fields */ }
Implementations§
Source§impl IfExists
impl IfExists
pub fn exists_token(&self) -> Option<SyntaxToken>
pub fn if_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for IfExists
impl AstNode for IfExists
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,
impl Eq for IfExists
impl StructuralPartialEq for IfExists
Auto Trait Implementations§
impl Freeze for IfExists
impl !RefUnwindSafe for IfExists
impl !Send for IfExists
impl !Sync for IfExists
impl Unpin for IfExists
impl !UnwindSafe for IfExists
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