pub struct PageShapes {
pub lines: Vec<[f32; 4]>,
pub boxes: Vec<[f32; 4]>,
}Expand description
A page’s shapes for the reading-order separators (#1092), in the cells’
frame ([l, t, r, b], top-left page points): docling-parse’s
get_shape_lines and get_connected_shape_bounding_boxes.
Fields§
§lines: Vec<[f32; 4]>§boxes: Vec<[f32; 4]>Trait Implementations§
Source§impl Clone for PageShapes
impl Clone for PageShapes
Source§impl Debug for PageShapes
impl Debug for PageShapes
Source§impl Default for PageShapes
impl Default for PageShapes
Source§impl PartialEq for PageShapes
impl PartialEq for PageShapes
impl StructuralPartialEq for PageShapes
Auto Trait Implementations§
impl Forget for PageShapes
impl Freeze for PageShapes
impl Move for PageShapes
impl RefUnwindSafe for PageShapes
impl Send for PageShapes
impl Sync for PageShapes
impl Unpin for PageShapes
impl UnsafeUnpin for PageShapes
impl UnwindSafe for PageShapes
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
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