pub struct UpdateCallArgOp {
pub call_name: String,
pub arg_index: usize,
pub new_expr: String,
pub call_type: Option<String>,
pub content_filter: Option<String>,
}Expand description
Update an argument at a specific index in function or method calls
Fields§
§call_name: StringName of the function or method to target
arg_index: usizeIndex of the argument to update (0-based)
new_expr: StringNew expression for the argument
call_type: Option<String>Filter to “function” or “method” calls only (None = both)
content_filter: Option<String>Filter call sites by content substring
Trait Implementations§
Source§impl Clone for UpdateCallArgOp
impl Clone for UpdateCallArgOp
Source§fn clone(&self) -> UpdateCallArgOp
fn clone(&self) -> UpdateCallArgOp
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 UpdateCallArgOp
impl Debug for UpdateCallArgOp
Source§impl<'de> Deserialize<'de> for UpdateCallArgOp
impl<'de> Deserialize<'de> for UpdateCallArgOp
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 UpdateCallArgOp
impl RefUnwindSafe for UpdateCallArgOp
impl Send for UpdateCallArgOp
impl Sync for UpdateCallArgOp
impl Unpin for UpdateCallArgOp
impl UnsafeUnpin for UpdateCallArgOp
impl UnwindSafe for UpdateCallArgOp
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