pub struct Prepare { /* private fields */ }Implementations§
Source§impl Prepare
impl Prepare
pub fn name(&self) -> Option<Name>
pub fn preparable_stmt(&self) -> Option<PreparableStmt>
pub fn as_token(&self) -> Option<SyntaxToken>
pub fn prepare_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for Prepare
impl AstNode for Prepare
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 Prepare
impl StructuralPartialEq for Prepare
Auto Trait Implementations§
impl Freeze for Prepare
impl !RefUnwindSafe for Prepare
impl !Send for Prepare
impl !Sync for Prepare
impl Unpin for Prepare
impl !UnwindSafe for Prepare
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