pub struct HtmlLimits {
pub max_depth: usize,
pub max_node_count: usize,
pub max_attribute_count: usize,
pub max_attribute_value_len: usize,
}Fields§
§max_depth: usize§max_node_count: usize§max_attribute_count: usize§max_attribute_value_len: usizeTrait Implementations§
Source§impl Clone for HtmlLimits
impl Clone for HtmlLimits
Source§fn clone(&self) -> HtmlLimits
fn clone(&self) -> HtmlLimits
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 HtmlLimits
impl Debug for HtmlLimits
Source§impl PartialEq for HtmlLimits
impl PartialEq for HtmlLimits
Source§fn eq(&self, other: &HtmlLimits) -> bool
fn eq(&self, other: &HtmlLimits) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for HtmlLimits
impl Eq for HtmlLimits
impl StructuralPartialEq for HtmlLimits
Auto Trait Implementations§
impl Freeze for HtmlLimits
impl RefUnwindSafe for HtmlLimits
impl Send for HtmlLimits
impl Sync for HtmlLimits
impl Unpin for HtmlLimits
impl UnsafeUnpin for HtmlLimits
impl UnwindSafe for HtmlLimits
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