pub struct RenameAttribute { /* private fields */ }Implementations§
Source§impl RenameAttribute
impl RenameAttribute
pub fn name(&self) -> Option<Name>
pub fn name_ref(&self) -> Option<NameRef>
pub fn attribute_token(&self) -> Option<SyntaxToken>
pub fn rename_token(&self) -> Option<SyntaxToken>
pub fn to_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for RenameAttribute
impl AstNode for RenameAttribute
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 RenameAttribute
impl Clone for RenameAttribute
Source§fn clone(&self) -> RenameAttribute
fn clone(&self) -> RenameAttribute
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 RenameAttribute
impl Debug for RenameAttribute
Source§impl Hash for RenameAttribute
impl Hash for RenameAttribute
Source§impl PartialEq for RenameAttribute
impl PartialEq for RenameAttribute
impl Eq for RenameAttribute
impl StructuralPartialEq for RenameAttribute
Auto Trait Implementations§
impl Freeze for RenameAttribute
impl !RefUnwindSafe for RenameAttribute
impl !Send for RenameAttribute
impl !Sync for RenameAttribute
impl Unpin for RenameAttribute
impl UnsafeUnpin for RenameAttribute
impl !UnwindSafe for RenameAttribute
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