pub struct AlterPolicy { /* private fields */ }
Implementations§
Source§impl AlterPolicy
impl AlterPolicy
pub fn name_ref(&self) -> Option<NameRef>
pub fn alter_token(&self) -> Option<SyntaxToken>
pub fn on_token(&self) -> Option<SyntaxToken>
pub fn policy_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for AlterPolicy
impl AstNode for AlterPolicy
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 AlterPolicy
impl Clone for AlterPolicy
Source§fn clone(&self) -> AlterPolicy
fn clone(&self) -> AlterPolicy
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 AlterPolicy
impl Debug for AlterPolicy
Source§impl From<AlterPolicy> for Stmt
impl From<AlterPolicy> for Stmt
Source§fn from(node: AlterPolicy) -> Stmt
fn from(node: AlterPolicy) -> Stmt
Converts to this type from the input type.
Source§impl Hash for AlterPolicy
impl Hash for AlterPolicy
Source§impl PartialEq for AlterPolicy
impl PartialEq for AlterPolicy
impl Eq for AlterPolicy
impl StructuralPartialEq for AlterPolicy
Auto Trait Implementations§
impl Freeze for AlterPolicy
impl !RefUnwindSafe for AlterPolicy
impl !Send for AlterPolicy
impl !Sync for AlterPolicy
impl Unpin for AlterPolicy
impl !UnwindSafe for AlterPolicy
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