pub struct PartialReplacement {
pub start: usize,
pub end: usize,
pub local_value: String,
pub committed_value: String,
}Expand description
Represents a partial replacement within a string
Fields§
§start: usize§end: usize§local_value: String§committed_value: StringTrait Implementations§
Source§impl Clone for PartialReplacement
impl Clone for PartialReplacement
Source§fn clone(&self) -> PartialReplacement
fn clone(&self) -> PartialReplacement
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 PartialReplacement
impl RefUnwindSafe for PartialReplacement
impl Send for PartialReplacement
impl Sync for PartialReplacement
impl Unpin for PartialReplacement
impl UnwindSafe for PartialReplacement
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