pub struct PdfLine<'a> {
pub alignment: PdfLineAlignment,
pub bottom: PdfPoints,
pub left: PdfPoints,
pub width: PdfPoints,
pub fragments: Vec<PdfParagraphFragment<'a>>,
}Expand description
A span of paragraph fragments that make up one line in a PdfParagraph.
Fields§
§alignment: PdfLineAlignmentThe alignment of this line within the paragraph.
bottom: PdfPointsThe bottom Y position of this line in PDF points.
left: PdfPointsThe left X position of this line in PDF points.
width: PdfPointsThe width of this line in PDF points.
fragments: Vec<PdfParagraphFragment<'a>>The fragments composing this line.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for PdfLine<'a>
impl<'a> !Send for PdfLine<'a>
impl<'a> !Sync for PdfLine<'a>
impl<'a> !UnwindSafe for PdfLine<'a>
impl<'a> Freeze for PdfLine<'a>
impl<'a> Unpin for PdfLine<'a>
impl<'a> UnsafeUnpin for PdfLine<'a>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more