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