pub enum StructureDisposition {
Preserved,
FirstInputWins,
Rejected,
Discarded,
}Expand description
Policy applied to a detected document structure.
Variants§
Preserved
Retained through the byte-preserved base catalog.
FirstInputWins
The first input wins and the secondary value is deliberately ignored.
Rejected
The combination cannot be represented safely and planning fails.
Discarded
Deliberately omitted by the selected reconstructive engine.
Trait Implementations§
Source§impl Clone for StructureDisposition
impl Clone for StructureDisposition
Source§fn clone(&self) -> StructureDisposition
fn clone(&self) -> StructureDisposition
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 moreimpl Copy for StructureDisposition
Source§impl Debug for StructureDisposition
impl Debug for StructureDisposition
impl Eq for StructureDisposition
Source§impl PartialEq for StructureDisposition
impl PartialEq for StructureDisposition
impl StructuralPartialEq for StructureDisposition
Auto Trait Implementations§
impl Freeze for StructureDisposition
impl RefUnwindSafe for StructureDisposition
impl Send for StructureDisposition
impl Sync for StructureDisposition
impl Unpin for StructureDisposition
impl UnsafeUnpin for StructureDisposition
impl UnwindSafe for StructureDisposition
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