pub struct RenderOutput {
pub ir: Fragment,
pub caret: Rect,
pub selection: Vec<Rect>,
pub placeholders: Vec<Rect>,
pub metrics: Metrics,
pub menu: Option<MenuView>,
}Expand description
The renderer neutral output the host paints.
Fields§
§ir: FragmentThe mathtex IR fragment.
caret: RectThe caret rectangle.
selection: Vec<Rect>The selection rectangles.
placeholders: Vec<Rect>Empty slot placeholder rectangles.
metrics: MetricsThe fragment metrics.
The Backspace dropdown menu when one is open.
Auto Trait Implementations§
impl Freeze for RenderOutput
impl RefUnwindSafe for RenderOutput
impl Send for RenderOutput
impl Sync for RenderOutput
impl Unpin for RenderOutput
impl UnsafeUnpin for RenderOutput
impl UnwindSafe for RenderOutput
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