Struct rckive_genpdf::RenderResult
source · Expand description
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§
source§impl Clone for RenderResult
impl Clone for RenderResult
source§fn clone(&self) -> RenderResult
fn clone(&self) -> RenderResult
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RenderResult
impl Debug for RenderResult
source§impl Default for RenderResult
impl Default for RenderResult
source§fn default() -> RenderResult
fn default() -> RenderResult
Returns the “default value” for a type. Read more
source§impl PartialEq<RenderResult> for RenderResult
impl PartialEq<RenderResult> for RenderResult
source§fn eq(&self, other: &RenderResult) -> bool
fn eq(&self, other: &RenderResult) -> bool
source§impl PartialOrd<RenderResult> for RenderResult
impl PartialOrd<RenderResult> for RenderResult
source§fn partial_cmp(&self, other: &RenderResult) -> Option<Ordering>
fn partial_cmp(&self, other: &RenderResult) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more