pub enum ShapeWrite {
Keep {
source_index: usize,
},
Patch {
source_index: usize,
patch: Box<ShapePatch>,
},
Add(Box<ShapeAdd>),
}Variants§
Keep
Keep the source shape element untouched. source_index counts shape
elements at the same nesting level, in document order.
Patch
Add(Box<ShapeAdd>)
Auto Trait Implementations§
impl Freeze for ShapeWrite
impl RefUnwindSafe for ShapeWrite
impl Send for ShapeWrite
impl Sync for ShapeWrite
impl Unpin for ShapeWrite
impl UnsafeUnpin for ShapeWrite
impl UnwindSafe for ShapeWrite
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