pub struct Fragment {
pub top: i32,
pub left: i32,
pub width: i32,
pub height: i32,
pub font: u32,
pub spans: Vec<Span>,
}Expand description
One <text> fragment from pdftohtml, already a visual line or part
of one.
Fields§
§top: i32§left: i32§width: i32§height: i32§font: u32§spans: Vec<Span>Implementations§
Trait Implementations§
impl StructuralPartialEq for Fragment
Auto Trait Implementations§
impl Freeze for Fragment
impl RefUnwindSafe for Fragment
impl Send for Fragment
impl Sync for Fragment
impl Unpin for Fragment
impl UnsafeUnpin for Fragment
impl UnwindSafe for Fragment
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