pub enum Op {
Create {
id: NodeId,
key: u64,
shape: Shape,
},
Patch {
id: NodeId,
edits: Vec<Edit>,
},
Place {
id: NodeId,
parent: Option<NodeId>,
before: Option<NodeId>,
},
Suspend {
id: NodeId,
},
Dispose {
id: NodeId,
subtree: Vec<NodeId>,
},
}Variants§
Trait Implementations§
impl StructuralPartialEq for Op
Auto Trait Implementations§
impl !RefUnwindSafe for Op
impl !Send for Op
impl !Sync for Op
impl !UnwindSafe for Op
impl Forget for Op
impl Freeze for Opwhere
*const RcInner<Frame> is !null: Freeze,
PhantomData<RcInner<Frame>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<Piece>: Freeze,
*const RcInner<Vec<SelectEntry>> is !null: Freeze,
PhantomData<RcInner<Vec<SelectEntry>>>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Edit>: Freeze,
PhantomData<NodeId>: Freeze,
impl Move for Op
impl Unpin for Opwhere
Rc<Frame>: Unpin,
*const u8 is !null: Unpin,
&'static str: Unpin,
*const LeafNode<&'static str, String> is !null: Unpin,
Box<(&'static str, String)>: Unpin,
*const LeafNode<&'static str, Property> is !null: Unpin,
Box<(&'static str, Property)>: Unpin,
Rc<Vec<SelectEntry>>: Unpin,
Rc<RichDocument>: Unpin,
impl UnsafeUnpin for Opwhere
*const RcInner<Frame> is !null: UnsafeUnpin,
PhantomData<RcInner<Frame>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<Piece>: UnsafeUnpin,
*const RcInner<Vec<SelectEntry>> is !null: UnsafeUnpin,
PhantomData<RcInner<Vec<SelectEntry>>>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Edit>: UnsafeUnpin,
PhantomData<NodeId>: 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