pub trait DeltaValue: Debug + Sized {
// Required methods
fn value_extend(&mut self, other: Self) -> Result<(), Self>;
fn take(&mut self, length: usize) -> Self;
fn length(&self) -> usize;
}
Expand description
The value of DeltaItem::Insert
Required Methods§
Sourcefn value_extend(&mut self, other: Self) -> Result<(), Self>
fn value_extend(&mut self, other: Self) -> Result<(), Self>
the other will be merged into self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.