pub struct ReplaceAnnotationStep {
pub id: AnnotationId,
pub before: Annotation,
pub after: Annotation,
}Fields§
§id: AnnotationId§before: Annotation§after: AnnotationTrait Implementations§
Source§impl Debug for ReplaceAnnotationStep
impl Debug for ReplaceAnnotationStep
Source§impl Step for ReplaceAnnotationStep
impl Step for ReplaceAnnotationStep
fn apply(&self, anns: &mut AnnotationModel)
fn revert(&self, anns: &mut AnnotationModel)
Auto Trait Implementations§
impl Forget for ReplaceAnnotationStep
impl Freeze for ReplaceAnnotationStepwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Point>: Freeze,
PhantomData<PathCommand>: Freeze,
PhantomData<TextSpan>: Freeze,
impl Move for ReplaceAnnotationStep
impl RefUnwindSafe for ReplaceAnnotationStep
impl Send for ReplaceAnnotationStepwhere
RawVecInner: Send,
impl Sync for ReplaceAnnotationStepwhere
RawVecInner: Sync,
impl Unpin for ReplaceAnnotationStep
impl UnsafeUnpin for ReplaceAnnotationStepwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Point>: UnsafeUnpin,
PhantomData<PathCommand>: UnsafeUnpin,
PhantomData<TextSpan>: UnsafeUnpin,
impl UnwindSafe for ReplaceAnnotationStepwhere
RawVecInner: UnwindSafe,
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