pub struct GeometryDiagnostic {
pub heatmap_max: u32,
pub header_reason: String,
pub doc_footer_reason: String,
pub left_margin_reason: String,
pub right_margin_reason: String,
pub column_peak: f32,
pub column_drop_threshold: f32,
pub column_high_threshold: f32,
}Fields§
§heatmap_max: u32Maximum cell value in the full-resolution heatmap (= source_pages when text fully aligned across pages).
header_reason: StringReason returned by each doc-level walk. Useful for post-hoc inspection. Examples: “found-significant-gap”, “found-chrome-then-tail”, “gap-to-page-bottom”, “no-significant-gap-found”.
left_margin_reason: String§right_margin_reason: String§column_peak: f32Column-detection metadata: peak, drop_threshold, high_threshold (the flanking-cell threshold). Useful for tuning.
column_drop_threshold: f32§column_high_threshold: f32Trait Implementations§
Source§impl Clone for GeometryDiagnostic
impl Clone for GeometryDiagnostic
Source§fn clone(&self) -> GeometryDiagnostic
fn clone(&self) -> GeometryDiagnostic
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GeometryDiagnostic
impl Debug for GeometryDiagnostic
Source§impl Default for GeometryDiagnostic
impl Default for GeometryDiagnostic
Source§fn default() -> GeometryDiagnostic
fn default() -> GeometryDiagnostic
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GeometryDiagnostic
impl<'de> Deserialize<'de> for GeometryDiagnostic
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<GeometryDiagnostic, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<GeometryDiagnostic, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for GeometryDiagnostic
impl Serialize for GeometryDiagnostic
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for GeometryDiagnostic
impl RefUnwindSafe for GeometryDiagnostic
impl Send for GeometryDiagnostic
impl Sync for GeometryDiagnostic
impl Unpin for GeometryDiagnostic
impl UnsafeUnpin for GeometryDiagnostic
impl UnwindSafe for GeometryDiagnostic
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