pub enum PdfParagraphOverflowBehaviour {
FixHeightExpandWidth,
FixWidthExpandHeight,
Clip,
}Expand description
Controls the overflow behaviour of a [PdfPageParagraphObject] 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
sourceimpl Clone for PdfParagraphOverflowBehaviour
impl Clone for PdfParagraphOverflowBehaviour
sourcefn clone(&self) -> PdfParagraphOverflowBehaviour
fn clone(&self) -> PdfParagraphOverflowBehaviour
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for PdfParagraphOverflowBehaviour
impl Debug for PdfParagraphOverflowBehaviour
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more