pub enum WhiteSpace {
Newline(Box<Locate>),
Space(Box<Locate>),
Comment(Box<Comment>),
CompilerDirective(Box<CompilerDirective>),
}
Variants§
Newline(Box<Locate>)
Space(Box<Locate>)
Comment(Box<Comment>)
CompilerDirective(Box<CompilerDirective>)
Trait Implementations§
source§impl Clone for WhiteSpace
impl Clone for WhiteSpace
source§fn clone(&self) -> WhiteSpace
fn clone(&self) -> WhiteSpace
Returns a copy of the value. Read more
1.0.0 · 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 WhiteSpace
impl Debug for WhiteSpace
source§impl<'a> From<&'a WhiteSpace> for RefNode<'a>
impl<'a> From<&'a WhiteSpace> for RefNode<'a>
source§fn from(x: &'a WhiteSpace) -> Self
fn from(x: &'a WhiteSpace) -> Self
Converts to this type from the input type.
source§impl<'a> From<&'a WhiteSpace> for RefNodes<'a>
impl<'a> From<&'a WhiteSpace> for RefNodes<'a>
source§fn from(x: &'a WhiteSpace) -> Self
fn from(x: &'a WhiteSpace) -> Self
Converts to this type from the input type.
source§impl From<WhiteSpace> for AnyNode
impl From<WhiteSpace> for AnyNode
source§fn from(x: WhiteSpace) -> Self
fn from(x: WhiteSpace) -> Self
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a WhiteSpace
impl<'a> IntoIterator for &'a WhiteSpace
source§impl PartialEq<WhiteSpace> for WhiteSpace
impl PartialEq<WhiteSpace> for WhiteSpace
source§fn eq(&self, other: &WhiteSpace) -> bool
fn eq(&self, other: &WhiteSpace) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.