pub struct Transaction {
pub steps: Vec<Box<dyn Step>>,
pub selection_before: AnnotationSelection,
pub selection_after: AnnotationSelection,
pub text_cursor_before: Option<TextCursor>,
pub text_cursor_after: Option<TextCursor>,
}Fields§
§steps: Vec<Box<dyn Step>>§selection_before: AnnotationSelection§selection_after: AnnotationSelection§text_cursor_before: Option<TextCursor>§text_cursor_after: Option<TextCursor>Auto Trait Implementations§
impl !RefUnwindSafe for Transaction
impl !Sync for Transaction
impl !UnwindSafe for Transaction
impl Forget for Transaction
impl Freeze for Transactionwhere
*const u8 is !null: Freeze,
PhantomData<Box<dyn Step>>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<AnnotationId>: Freeze,
impl Move for Transaction
impl Send for Transaction
impl Unpin for Transaction
impl UnsafeUnpin for Transactionwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Box<dyn Step>>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<AnnotationId>: UnsafeUnpin,
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