struct Dehtml {
strbuilder: String,
quote: String,
add_text: AddText,
last_href: Option<String>,
divs_since_quote_div: u32,
divs_since_quoted_content_div: u32,
blockquotes_since_blockquote: u32,
}
Fields§
§strbuilder: String
§quote: String
§add_text: AddText
§last_href: Option<String>
§divs_since_quote_div: u32
GMX wraps a quote in <div name="quote">
. After a <div name="quote">
, this count is
increased at each <div>
and decreased at each </div>
. This way we know when the quote ends.
If this is > 0
, then we are inside a <div name="quote">
divs_since_quoted_content_div: u32
Everything between <div name="quote">
and <div name="quoted-content">
is usually metadata
If this is > 0
, then we are inside a <div name="quoted-content">
.
blockquotes_since_blockquote: u32
All-Inkl just puts the quote into <blockquote> </blockquote>
. This count is
increased at each <blockquote>
and decreased at each </blockquote>
.
Implementations§
Auto Trait Implementations§
impl Freeze for Dehtml
impl RefUnwindSafe for Dehtml
impl Send for Dehtml
impl Sync for Dehtml
impl Unpin for Dehtml
impl UnwindSafe for Dehtml
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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