pub struct EditorTransaction {
pub operations: Vec<EditOperation>,
pub before_cursors: Vec<Selection>,
pub after_cursors: Vec<Selection>,
pub timestamp_ms: u64,
}Expand description
A transactional unit of work containing one or more atomic operations.
Fields§
§operations: Vec<EditOperation>§before_cursors: Vec<Selection>§after_cursors: Vec<Selection>§timestamp_ms: u64Implementations§
Trait Implementations§
Source§impl Clone for EditorTransaction
impl Clone for EditorTransaction
Source§impl Debug for EditorTransaction
impl Debug for EditorTransaction
impl Eq for EditorTransaction
Source§impl PartialEq for EditorTransaction
impl PartialEq for EditorTransaction
impl StructuralPartialEq for EditorTransaction
Auto Trait Implementations§
impl Forget for EditorTransaction
impl Freeze for EditorTransaction
impl Move for EditorTransaction
impl RefUnwindSafe for EditorTransaction
impl Send for EditorTransaction
impl Sync for EditorTransaction
impl Unpin for EditorTransaction
impl UnsafeUnpin for EditorTransaction
impl UnwindSafe for EditorTransaction
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.