[−][src]Struct genpdf::RenderResult
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]
fn clone(&self) -> RenderResult
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for RenderResult
[src]
impl Debug for RenderResult
[src]
impl Default for RenderResult
[src]
fn default() -> RenderResult
[src]
impl PartialEq<RenderResult> for RenderResult
[src]
fn eq(&self, other: &RenderResult) -> bool
[src]
fn ne(&self, other: &RenderResult) -> bool
[src]
impl PartialOrd<RenderResult> for RenderResult
[src]
fn partial_cmp(&self, other: &RenderResult) -> Option<Ordering>
[src]
fn lt(&self, other: &RenderResult) -> bool
[src]
fn le(&self, other: &RenderResult) -> bool
[src]
fn gt(&self, other: &RenderResult) -> bool
[src]
fn ge(&self, other: &RenderResult) -> bool
[src]
impl StructuralPartialEq for RenderResult
[src]
Auto Trait Implementations
impl RefUnwindSafe for RenderResult
impl Send for RenderResult
impl Sync for RenderResult
impl Unpin for RenderResult
impl UnwindSafe for RenderResult
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,