pub struct ScriptDeltaOwned {
pub added: Vec<String>,
pub modified: Vec<(usize, String)>,
pub removed: Vec<usize>,
pub new_issues: Vec<ParseIssue>,
}Available on crate feature
stream only.Expand description
Owned variant of ScriptDelta for incremental parsing with lifetime independence
Fields§
§added: Vec<String>Sections that were added (serialized as source text)
modified: Vec<(usize, String)>Sections that were modified (old index -> new section as source text)
removed: Vec<usize>Section indices that were removed
new_issues: Vec<ParseIssue>New parse issues
Trait Implementations§
Source§impl Clone for ScriptDeltaOwned
impl Clone for ScriptDeltaOwned
Source§fn clone(&self) -> ScriptDeltaOwned
fn clone(&self) -> ScriptDeltaOwned
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 ScriptDeltaOwned
impl RefUnwindSafe for ScriptDeltaOwned
impl Send for ScriptDeltaOwned
impl Sync for ScriptDeltaOwned
impl Unpin for ScriptDeltaOwned
impl UnwindSafe for ScriptDeltaOwned
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