pub enum Visit {
All,
Skip,
ElementsOnly,
}Expand description
What a sink wants the scanner to do with an element after its start tag.
Variants§
All
Report child elements and character data.
Skip
Skip the content without decoding it; end is not called for the element.
ElementsOnly
Report child elements, drop character data.
Trait Implementations§
impl Copy for Visit
impl Eq for Visit
impl StructuralPartialEq for Visit
Auto Trait Implementations§
impl Forget for Visit
impl Freeze for Visit
impl RefUnwindSafe for Visit
impl Send for Visit
impl Sync for Visit
impl Unpin for Visit
impl UnsafeUnpin for Visit
impl UnwindSafe for Visit
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.