Trait loro_internal::delta::DeltaValue
source · 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
Object Safety§
This trait is not object safe.