Enum html_streaming_editor::Command
source · [−]pub enum Command<'a> {
Only(CssSelectorList<'a>),
Filter(CssSelectorList<'a>),
}Variants
Only(CssSelectorList<'a>)
Find all nodes, beginning at the input, that match the given CSS selector and return only those
Filter(CssSelectorList<'a>)
Find all nodes, beginning at the input, that match the given CSS selector and remove them from their parent nodes. Returns the input as result.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Command<'a>
impl<'a> Send for Command<'a>
impl<'a> Sync for Command<'a>
impl<'a> Unpin for Command<'a>
impl<'a> UnwindSafe for Command<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more