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