pub enum RefactorOperation {
Modify(FileEdit),
Create(CreateFile),
Delete(DeleteFile),
Rename(RenameFile),
}Expand description
One logical operation in a refactor plan.
Variants§
Trait Implementations§
Source§impl Clone for RefactorOperation
impl Clone for RefactorOperation
Source§fn clone(&self) -> RefactorOperation
fn clone(&self) -> RefactorOperation
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 RefactorOperation
impl Debug for RefactorOperation
Source§impl<'de> Deserialize<'de> for RefactorOperation
impl<'de> Deserialize<'de> for RefactorOperation
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<RefactorOperation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RefactorOperation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RefactorOperation
impl PartialEq for RefactorOperation
Source§impl Serialize for RefactorOperation
impl Serialize for RefactorOperation
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for RefactorOperation
Auto Trait Implementations§
impl Freeze for RefactorOperation
impl RefUnwindSafe for RefactorOperation
impl Send for RefactorOperation
impl Sync for RefactorOperation
impl Unpin for RefactorOperation
impl UnsafeUnpin for RefactorOperation
impl UnwindSafe for RefactorOperation
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