pub enum PdfParagraphOverflowBehaviour {
FixHeightExpandWidth,
FixWidthExpandHeight,
Clip,
}Expand description
Controls the overflow behaviour of a [PdfParagraph] that, due to changes in its content, needs to overflow the maximum bounds of the original page objects from which it was defined.
Variants§
FixHeightExpandWidth
The maximum line width will be adjusted so that the paragraph’s height stays the same.
FixWidthExpandHeight
The paragraph’s height will expand so that the paragraph’s maximum width stays the same.
Clip
Content overflowing the paragraph’s width and height will be clipped.
Trait Implementations§
source§impl Clone for PdfParagraphOverflowBehaviour
impl Clone for PdfParagraphOverflowBehaviour
source§fn clone(&self) -> PdfParagraphOverflowBehaviour
fn clone(&self) -> PdfParagraphOverflowBehaviour
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 PartialEq for PdfParagraphOverflowBehaviour
impl PartialEq for PdfParagraphOverflowBehaviour
source§fn eq(&self, other: &PdfParagraphOverflowBehaviour) -> bool
fn eq(&self, other: &PdfParagraphOverflowBehaviour) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for PdfParagraphOverflowBehaviour
impl StructuralPartialEq for PdfParagraphOverflowBehaviour
Auto Trait Implementations§
impl RefUnwindSafe for PdfParagraphOverflowBehaviour
impl Send for PdfParagraphOverflowBehaviour
impl Sync for PdfParagraphOverflowBehaviour
impl Unpin for PdfParagraphOverflowBehaviour
impl UnwindSafe for PdfParagraphOverflowBehaviour
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