pub struct DeltaHistory { /* private fields */ }Expand description
Bounded delta chains used to project revisioned host data forward.
Implementations§
Source§impl DeltaHistory
impl DeltaHistory
Sourcepub fn since(
&self,
buffer_id: BufferId,
since_revision: u64,
) -> (Vec<RopeEditDelta>, bool)
pub fn since( &self, buffer_id: BufferId, since_revision: u64, ) -> (Vec<RopeEditDelta>, bool)
Return byte deltas strictly newer than since_revision.
Sourcepub fn with_points_since(
&self,
buffer_id: BufferId,
since_revision: u64,
) -> (Vec<RopeEditDeltaWithPoints>, bool)
pub fn with_points_since( &self, buffer_id: BufferId, since_revision: u64, ) -> (Vec<RopeEditDeltaWithPoints>, bool)
Return position-augmented deltas strictly newer than since_revision.
Trait Implementations§
Source§impl Debug for DeltaHistory
impl Debug for DeltaHistory
Auto Trait Implementations§
impl Forget for DeltaHistory
impl Freeze for DeltaHistory
impl Move for DeltaHistory
impl RefUnwindSafe for DeltaHistory
impl Send for DeltaHistory
impl Sync for DeltaHistory
impl Unpin for DeltaHistory
impl UnsafeUnpin for DeltaHistory
impl UnwindSafe for DeltaHistory
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