pub struct AlterOption { /* private fields */ }Implementations§
Source§impl AlterOption
impl AlterOption
pub fn literal(&self) -> Option<Literal>
pub fn name_ref(&self) -> Option<NameRef>
pub fn add_token(&self) -> Option<SyntaxToken>
pub fn drop_token(&self) -> Option<SyntaxToken>
pub fn set_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for AlterOption
impl AstNode for AlterOption
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 AlterOption
impl Clone for AlterOption
Source§fn clone(&self) -> AlterOption
fn clone(&self) -> AlterOption
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 AlterOption
impl Debug for AlterOption
Source§impl Hash for AlterOption
impl Hash for AlterOption
Source§impl PartialEq for AlterOption
impl PartialEq for AlterOption
impl Eq for AlterOption
impl StructuralPartialEq for AlterOption
Auto Trait Implementations§
impl Freeze for AlterOption
impl !RefUnwindSafe for AlterOption
impl !Send for AlterOption
impl !Sync for AlterOption
impl Unpin for AlterOption
impl !UnwindSafe for AlterOption
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