pub struct RawPage {
pub name: Option<String>,
pub items: Vec<RawTextItem>,
pub images: Vec<RawImage>,
pub width: Option<f32>,
pub height: Option<f32>,
pub rotation: Option<i32>,
pub tables: Vec<Vec<Vec<String>>>,
}Fields§
§name: Option<String>§items: Vec<RawTextItem>§images: Vec<RawImage>§width: Option<f32>§height: Option<f32>§rotation: Option<i32>§tables: Vec<Vec<Vec<String>>>解析即已得到的表格结构 rows × cells
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RawPage
impl RefUnwindSafe for RawPage
impl Send for RawPage
impl Sync for RawPage
impl Unpin for RawPage
impl UnsafeUnpin for RawPage
impl UnwindSafe for RawPage
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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