pub struct ParseStats {
pub nodes: usize,
pub node_limit_hit: bool,
pub depth_capped: usize,
pub polled_out: bool,
}Expand description
parse_html_poll_counted の結果の数。
Fields§
§nodes: usize作ったノードの数(根の html は数えない)。
node_limit_hit: boolMAX_DOM_NODES に届いて、残りを読まなかったか。
depth_capped: usizeMAX_DOM_DEPTH より深いために開かなかった開始タグの数。
polled_out: boolpoll が真を返して途中でやめたか。
Trait Implementations§
Source§impl Clone for ParseStats
impl Clone for ParseStats
impl Copy for ParseStats
Source§impl Debug for ParseStats
impl Debug for ParseStats
Source§impl Default for ParseStats
impl Default for ParseStats
impl Eq for ParseStats
Source§impl PartialEq for ParseStats
impl PartialEq for ParseStats
impl StructuralPartialEq for ParseStats
Auto Trait Implementations§
impl Freeze for ParseStats
impl RefUnwindSafe for ParseStats
impl Send for ParseStats
impl Sync for ParseStats
impl Unpin for ParseStats
impl UnsafeUnpin for ParseStats
impl UnwindSafe for ParseStats
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.