Struct yrs::AfterTransactionEvent
source · pub struct AfterTransactionEvent {
pub before_state: StateVector,
pub after_state: StateVector,
pub delete_set: DeleteSet,
}Expand description
Holds transaction update information from a commit after state vectors have been compressed.
Fields§
§before_state: StateVector§after_state: StateVector§delete_set: DeleteSetImplementations§
source§impl AfterTransactionEvent
impl AfterTransactionEvent
pub fn new(txn: &TransactionMut<'_>) -> Self
Trait Implementations§
source§impl Clone for AfterTransactionEvent
impl Clone for AfterTransactionEvent
source§fn clone(&self) -> AfterTransactionEvent
fn clone(&self) -> AfterTransactionEvent
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more