pub struct DocumentContent {
pub text: String,
pub document_type: DocumentType,
pub page_count: usize,
pub page_width: f32,
pub page_height: f32,
pub has_headers: bool,
pub has_footers: bool,
pub formatting_info: FormattingInfo,
}Fields§
§text: String§document_type: DocumentType§page_count: usize§page_width: f32§page_height: f32§has_headers: bool§formatting_info: FormattingInfoTrait Implementations§
Source§impl Clone for DocumentContent
impl Clone for DocumentContent
Source§fn clone(&self) -> DocumentContent
fn clone(&self) -> DocumentContent
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for DocumentContent
impl RefUnwindSafe for DocumentContent
impl Send for DocumentContent
impl Sync for DocumentContent
impl Unpin for DocumentContent
impl UnwindSafe for DocumentContent
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