pub struct AlterFunction { /* private fields */ }
Implementations§
Source§impl AlterFunction
impl AlterFunction
pub fn alter_token(&self) -> Option<SyntaxToken>
pub fn function_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for AlterFunction
impl AstNode for AlterFunction
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,
Source§impl Clone for AlterFunction
impl Clone for AlterFunction
Source§fn clone(&self) -> AlterFunction
fn clone(&self) -> AlterFunction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AlterFunction
impl Debug for AlterFunction
Source§impl From<AlterFunction> for Stmt
impl From<AlterFunction> for Stmt
Source§fn from(node: AlterFunction) -> Stmt
fn from(node: AlterFunction) -> Stmt
Converts to this type from the input type.
Source§impl Hash for AlterFunction
impl Hash for AlterFunction
Source§impl PartialEq for AlterFunction
impl PartialEq for AlterFunction
impl Eq for AlterFunction
impl StructuralPartialEq for AlterFunction
Auto Trait Implementations§
impl Freeze for AlterFunction
impl !RefUnwindSafe for AlterFunction
impl !Send for AlterFunction
impl !Sync for AlterFunction
impl Unpin for AlterFunction
impl !UnwindSafe for AlterFunction
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