pub struct ReplayedState {
pub buffer_id: BufferId,
pub text: String,
pub revision: Revision,
pub selections: Vec<Selection>,
pub checksum: u64,
}Expand description
Reconstructed state after applying a host event log.
Fields§
§buffer_id: BufferIdReplayed buffer id.
text: StringFinal UTF-8 text.
revision: RevisionFinal revision.
selections: Vec<Selection>Final selection set.
checksum: u64Final running checksum.
Trait Implementations§
Source§impl Clone for ReplayedState
impl Clone for ReplayedState
Source§fn clone(&self) -> ReplayedState
fn clone(&self) -> ReplayedState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReplayedState
impl Debug for ReplayedState
impl Eq for ReplayedState
Source§impl PartialEq for ReplayedState
impl PartialEq for ReplayedState
impl StructuralPartialEq for ReplayedState
Auto Trait Implementations§
impl Freeze for ReplayedState
impl RefUnwindSafe for ReplayedState
impl Send for ReplayedState
impl Sync for ReplayedState
impl Unpin for ReplayedState
impl UnsafeUnpin for ReplayedState
impl UnwindSafe for ReplayedState
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