pub struct SkipWhitespace;Expand description
Mixed leaves out text that is only whitespace.
Whitespace between child elements is not text, as it’s not for other
types than Mixed. An element that is only whitespace has no
content.
Trait Implementations§
Source§impl Clone for SkipWhitespace
impl Clone for SkipWhitespace
impl Copy for SkipWhitespace
Source§impl Debug for SkipWhitespace
impl Debug for SkipWhitespace
Source§impl Default for SkipWhitespace
impl Default for SkipWhitespace
impl Eq for SkipWhitespace
Source§impl Hash for SkipWhitespace
impl Hash for SkipWhitespace
Source§impl Ord for SkipWhitespace
impl Ord for SkipWhitespace
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for SkipWhitespace
impl PartialEq for SkipWhitespace
Source§impl PartialOrd for SkipWhitespace
impl PartialOrd for SkipWhitespace
impl StructuralPartialEq for SkipWhitespace
impl Whitespace for SkipWhitespace
Auto Trait Implementations§
impl Freeze for SkipWhitespace
impl RefUnwindSafe for SkipWhitespace
impl Send for SkipWhitespace
impl Sync for SkipWhitespace
impl Unpin for SkipWhitespace
impl UnsafeUnpin for SkipWhitespace
impl UnwindSafe for SkipWhitespace
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