pub enum SourceDescription {
Comment(Box<Comment>),
StringLiteral(Box<StringLiteral>),
NotDirective(Box<SourceDescriptionNotDirective>),
CompilerDirective(Box<CompilerDirective>),
EscapedIdentifier(Box<EscapedIdentifier>),
}
Variants§
Comment(Box<Comment>)
StringLiteral(Box<StringLiteral>)
NotDirective(Box<SourceDescriptionNotDirective>)
CompilerDirective(Box<CompilerDirective>)
EscapedIdentifier(Box<EscapedIdentifier>)
Trait Implementations§
source§impl Clone for SourceDescription
impl Clone for SourceDescription
source§fn clone(&self) -> SourceDescription
fn clone(&self) -> SourceDescription
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 SourceDescription
impl Debug for SourceDescription
source§impl<'a> From<&'a SourceDescription> for RefNode<'a>
impl<'a> From<&'a SourceDescription> for RefNode<'a>
source§fn from(x: &'a SourceDescription) -> Self
fn from(x: &'a SourceDescription) -> Self
Converts to this type from the input type.
source§impl<'a> From<&'a SourceDescription> for RefNodes<'a>
impl<'a> From<&'a SourceDescription> for RefNodes<'a>
source§fn from(x: &'a SourceDescription) -> Self
fn from(x: &'a SourceDescription) -> Self
Converts to this type from the input type.
source§impl From<SourceDescription> for AnyNode
impl From<SourceDescription> for AnyNode
source§fn from(x: SourceDescription) -> Self
fn from(x: SourceDescription) -> Self
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a SourceDescription
impl<'a> IntoIterator for &'a SourceDescription
source§impl PartialEq<SourceDescription> for SourceDescription
impl PartialEq<SourceDescription> for SourceDescription
source§fn eq(&self, other: &SourceDescription) -> bool
fn eq(&self, other: &SourceDescription) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.