pub enum PreprocessingPreset {
Minimal,
Standard,
Aggressive,
}Expand description
HTML preprocessing aggressiveness level.
Controls the extent of cleanup performed before conversion. Higher levels remove more elements.
Variants§
Minimal
Minimal cleanup. Remove only essential noise (scripts, styles).
Standard
Standard cleanup. Default. Removes navigation, forms, and other auxiliary content.
Aggressive
Aggressive cleanup. Remove extensive non-content elements and structure.
Implementations§
Trait Implementations§
Source§impl Clone for PreprocessingPreset
impl Clone for PreprocessingPreset
Source§fn clone(&self) -> PreprocessingPreset
fn clone(&self) -> PreprocessingPreset
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 moreSource§impl Debug for PreprocessingPreset
impl Debug for PreprocessingPreset
Source§impl Default for PreprocessingPreset
impl Default for PreprocessingPreset
Source§fn default() -> PreprocessingPreset
fn default() -> PreprocessingPreset
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PreprocessingPreset
impl<'de> Deserialize<'de> for PreprocessingPreset
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PreprocessingPreset
impl PartialEq for PreprocessingPreset
Source§impl Serialize for PreprocessingPreset
impl Serialize for PreprocessingPreset
impl Copy for PreprocessingPreset
impl Eq for PreprocessingPreset
impl StructuralPartialEq for PreprocessingPreset
Auto Trait Implementations§
impl Freeze for PreprocessingPreset
impl RefUnwindSafe for PreprocessingPreset
impl Send for PreprocessingPreset
impl Sync for PreprocessingPreset
impl Unpin for PreprocessingPreset
impl UnwindSafe for PreprocessingPreset
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.