Enum sv_parser::WhiteSpace
source · pub enum WhiteSpace {
Newline(Box<Locate, Global>),
Space(Box<Locate, Global>),
Comment(Box<Comment, Global>),
CompilerDirective(Box<CompilerDirective, Global>),
}
Variants§
Newline(Box<Locate, Global>)
Space(Box<Locate, Global>)
Comment(Box<Comment, Global>)
CompilerDirective(Box<CompilerDirective, Global>)
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) -> RefNode<'a>
fn from(x: &'a WhiteSpace) -> RefNode<'a>
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) -> RefNodes<'a>
fn from(x: &'a WhiteSpace) -> RefNodes<'a>
Converts to this type from the input type.
source§impl From<WhiteSpace> for AnyNode
impl From<WhiteSpace> for AnyNode
source§fn from(x: WhiteSpace) -> AnyNode
fn from(x: WhiteSpace) -> AnyNode
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 ==
.