pub struct DropRole { /* private fields */ }
Implementations§
Source§impl DropRole
impl DropRole
pub fn if_exists(&self) -> Option<IfExists>
pub fn name_refs(&self) -> AstChildren<NameRef> ⓘ
pub fn drop_token(&self) -> Option<SyntaxToken>
pub fn role_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for DropRole
impl AstNode for DropRole
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 DropRole
impl StructuralPartialEq for DropRole
Auto Trait Implementations§
impl Freeze for DropRole
impl !RefUnwindSafe for DropRole
impl !Send for DropRole
impl !Sync for DropRole
impl Unpin for DropRole
impl !UnwindSafe for DropRole
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