pub struct View {
pub fragment: Fragment,
pub render: RenderOutput,
pub tex: String,
pub warnings: Vec<Diagnostic>,
}Expand description
A typeset editor state with the geometry to paint over it.
Fields§
§fragment: FragmentThe laid out source.
render: RenderOutputCaret, selection, placeholders, menu anchor and host box placements over fragment.
tex: StringThe LaTeX that was typeset, with placeholders in empty slots.
warnings: Vec<Diagnostic>Warnings TeX and the host boxes raised.
Trait Implementations§
impl StructuralPartialEq for View
Auto Trait Implementations§
impl Freeze for View
impl RefUnwindSafe for View
impl Send for View
impl Sync for View
impl Unpin for View
impl UnsafeUnpin for View
impl UnwindSafe for View
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