pub struct StagingState { /* private fields */ }Expand description
Net staged edits for one agent turn: the per-path result plus first-touch order, so the IDE shows one stable diff per file.
Implementations§
Source§impl StagingState
impl StagingState
Sourcepub fn edits(&self) -> Vec<ProposedEdit>
pub fn edits(&self) -> Vec<ProposedEdit>
The proposed edits in first-touch order, one per path.
Trait Implementations§
Source§impl Default for StagingState
impl Default for StagingState
Source§fn default() -> StagingState
fn default() -> StagingState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StagingState
impl RefUnwindSafe for StagingState
impl Send for StagingState
impl Sync for StagingState
impl Unpin for StagingState
impl UnsafeUnpin for StagingState
impl UnwindSafe for StagingState
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