Struct mupdf::text_page::TextPage[][src]

pub struct TextPage { /* fields omitted */ }

A text page is a list of blocks, together with an overall bounding box

Implementations

impl TextPage[src]

pub fn to_text(&self) -> Result<String, Error>[src]

pub fn blocks(&self) -> TextBlockIter

Notable traits for TextBlockIter

impl Iterator for TextBlockIter type Item = TextBlock;
[src]

pub fn search(&self, needle: &str, hit_max: u32) -> Result<Vec<Quad>, Error>[src]

Trait Implementations

impl Debug for TextPage[src]

impl Drop for TextPage[src]

Auto Trait Implementations

impl RefUnwindSafe for TextPage

impl !Send for TextPage

impl !Sync for TextPage

impl Unpin for TextPage

impl UnwindSafe for TextPage

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.