pub enum RenderOp {
Primitive {
node_id: NodeId,
layer: PaintLayer,
primitive: DrawPrimitive,
},
Text {
node_id: NodeId,
rect: Rect,
value: String,
},
}Expand description
A rendered operation emitted by the headless renderer stub.
Variants§
Trait Implementations§
impl StructuralPartialEq for RenderOp
Auto Trait Implementations§
impl Freeze for RenderOp
impl RefUnwindSafe for RenderOp
impl Send for RenderOp
impl Sync for RenderOp
impl Unpin for RenderOp
impl UnwindSafe for RenderOp
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