[][src]Struct genpdf::RenderResult

pub struct RenderResult {
    pub size: Size,
    pub has_more: bool,
}

The result of the rendering process.

This struct is returned by implementations of the Element::render method. It contains the size of the area that has been written to (measured from the origin of the area that was provided to the render method) and information about additional content that did not fit in the provided area.

See the Rendering Process section of the crate documentation for more information on the rendering process.

Fields

size: Size

The size of the area that has been written to, starting from the origin of the provided area.

has_more: bool

Indicates whether the element contains more content that did not fit in the provided area.

Trait Implementations

impl Clone for RenderResult[src]

impl Copy for RenderResult[src]

impl Debug for RenderResult[src]

impl Default for RenderResult[src]

impl PartialEq<RenderResult> for RenderResult[src]

impl PartialOrd<RenderResult> for RenderResult[src]

impl StructuralPartialEq for RenderResult[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.