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