pub struct AddCallArgOp {
pub call_name: String,
pub arg_expr: String,
pub position: ArgPosition,
pub call_type: Option<String>,
pub content_filter: Option<String>,
}Expand description
Add an argument to function or method calls
Fields§
§call_name: StringName of the function or method to target
arg_expr: StringExpression to add as argument (e.g., “None”, “ctx.clone()”, “Default::default()”)
position: ArgPositionWhere to insert 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 AddCallArgOp
impl Clone for AddCallArgOp
Source§fn clone(&self) -> AddCallArgOp
fn clone(&self) -> AddCallArgOp
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 AddCallArgOp
impl Debug for AddCallArgOp
Source§impl<'de> Deserialize<'de> for AddCallArgOp
impl<'de> Deserialize<'de> for AddCallArgOp
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 AddCallArgOp
impl RefUnwindSafe for AddCallArgOp
impl Send for AddCallArgOp
impl Sync for AddCallArgOp
impl Unpin for AddCallArgOp
impl UnsafeUnpin for AddCallArgOp
impl UnwindSafe for AddCallArgOp
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