pub struct RemovalOptions {
pub remove_exact_selectors: bool,
pub remove_partial_selectors: bool,
}Expand description
Content removal options
Fields§
§remove_exact_selectors: boolWhether to remove elements matching exact selectors
remove_partial_selectors: boolWhether to remove elements matching partial selectors
Trait Implementations§
Source§impl Clone for RemovalOptions
impl Clone for RemovalOptions
Source§fn clone(&self) -> RemovalOptions
fn clone(&self) -> RemovalOptions
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 RemovalOptions
impl Debug for RemovalOptions
Source§impl<'de> Deserialize<'de> for RemovalOptions
impl<'de> Deserialize<'de> for RemovalOptions
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
Auto Trait Implementations§
impl Freeze for RemovalOptions
impl RefUnwindSafe for RemovalOptions
impl Send for RemovalOptions
impl Sync for RemovalOptions
impl Unpin for RemovalOptions
impl UnsafeUnpin for RemovalOptions
impl UnwindSafe for RemovalOptions
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