pub struct SetVariableValueCommandBuilder { /* private fields */ }Available on crate features
Debugger and Runtime only.Implementations§
Source§impl SetVariableValueCommandBuilder
impl SetVariableValueCommandBuilder
Sourcepub fn scope_number(&mut self, v: u32) -> &mut Self
pub fn scope_number(&mut self, v: u32) -> &mut Self
0-based number of scope as was listed in scope chain. Only ‘local’, ‘closure’ and ‘catch’ scope types are allowed. Other scopes could be manipulated manually.
Sourcepub fn variable_name(&mut self, v: String) -> &mut Self
pub fn variable_name(&mut self, v: String) -> &mut Self
Variable name.
Sourcepub fn new_value(&mut self, v: CallArgument) -> &mut Self
pub fn new_value(&mut self, v: CallArgument) -> &mut Self
New variable value.
Sourcepub fn call_frame_id(&mut self, v: CallFrameId) -> &mut Self
pub fn call_frame_id(&mut self, v: CallFrameId) -> &mut Self
Id of callframe that holds variable.
pub fn build(&mut self) -> Result<SetVariableValueCommand, &'static str>
Trait Implementations§
Source§impl Clone for SetVariableValueCommandBuilder
impl Clone for SetVariableValueCommandBuilder
Source§fn clone(&self) -> SetVariableValueCommandBuilder
fn clone(&self) -> SetVariableValueCommandBuilder
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 moreAuto Trait Implementations§
impl Freeze for SetVariableValueCommandBuilder
impl RefUnwindSafe for SetVariableValueCommandBuilder
impl Send for SetVariableValueCommandBuilder
impl Sync for SetVariableValueCommandBuilder
impl Unpin for SetVariableValueCommandBuilder
impl UnwindSafe for SetVariableValueCommandBuilder
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