pub enum TransformAction {
Comment,
Remove,
Replace {
with: String,
},
}Expand description
Actions that can be performed on AST nodes
Variants§
Trait Implementations§
Source§impl Clone for TransformAction
impl Clone for TransformAction
Source§fn clone(&self) -> TransformAction
fn clone(&self) -> TransformAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TransformAction
impl Debug for TransformAction
Source§impl<'de> Deserialize<'de> for TransformAction
impl<'de> Deserialize<'de> for TransformAction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TransformAction
impl RefUnwindSafe for TransformAction
impl Send for TransformAction
impl Sync for TransformAction
impl Unpin for TransformAction
impl UnsafeUnpin for TransformAction
impl UnwindSafe for TransformAction
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