pub struct DropStmt<'a> { /* private fields */ }Implementations§
Source§impl<'a> DropStmt<'a>
impl<'a> DropStmt<'a>
Sourcepub fn node_id(&self) -> DropStmtId
pub fn node_id(&self) -> DropStmtId
The typed node ID of this node.
pub fn object_type(&self) -> DropObjectType
pub fn if_exists(&self) -> bool
pub fn target(&self) -> Option<QualifiedName<'a>>
Trait Implementations§
Source§impl<'a> From<DropStmt<'a>> for DropStmtId
impl<'a> From<DropStmt<'a>> for DropStmtId
Source§impl<'a> GrammarNodeType<'a> for DropStmt<'a>
impl<'a> GrammarNodeType<'a> for DropStmt<'a>
Source§fn from_result(
stmt_result: &'a AnyParsedStatement<'a>,
id: AnyNodeId,
) -> Option<Self>
fn from_result( stmt_result: &'a AnyParsedStatement<'a>, id: AnyNodeId, ) -> Option<Self>
Resolve
id to Self, or None if null, invalid, or tag mismatch.impl<'a> Copy for DropStmt<'a>
Auto Trait Implementations§
impl<'a> Freeze for DropStmt<'a>
impl<'a> !RefUnwindSafe for DropStmt<'a>
impl<'a> !Send for DropStmt<'a>
impl<'a> !Sync for DropStmt<'a>
impl<'a> Unpin for DropStmt<'a>
impl<'a> UnsafeUnpin for DropStmt<'a>
impl<'a> !UnwindSafe for DropStmt<'a>
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