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