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