pub struct TextDelta {
pub index: i64,
pub delta: String,
pub kind: TextDeltaKind,
}Expand description
One text continuation inside a delta patch.
Fields§
§index: i64§delta: String§kind: TextDeltaKindAbsent on an older host, and omitted for ordinary text so a plain
frame keeps its old bytes; present as reasoning when it is one.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TextDelta
impl<'de> Deserialize<'de> for TextDelta
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
impl StructuralPartialEq for TextDelta
Auto Trait Implementations§
impl Forget for TextDelta
impl Freeze for TextDelta
impl Move for TextDelta
impl RefUnwindSafe for TextDelta
impl Send for TextDeltawhere
RawVecInner: Send,
impl Sync for TextDeltawhere
RawVecInner: Sync,
impl Unpin for TextDelta
impl UnsafeUnpin for TextDelta
impl UnwindSafe for TextDeltawhere
RawVecInner: UnwindSafe,
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