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 duplicate 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) -> RefNode<'a>
 
fn from(x: &'a SourceDescription) -> RefNode<'a>
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) -> RefNodes<'a>
 
fn from(x: &'a SourceDescription) -> RefNodes<'a>
Converts to this type from the input type.
Source§impl From<SourceDescription> for AnyNode
 
impl From<SourceDescription> for AnyNode
Source§fn from(x: SourceDescription) -> AnyNode
 
fn from(x: SourceDescription) -> AnyNode
Converts to this type from the input type.
Source§impl<'a> IntoIterator for &'a SourceDescription
 
impl<'a> IntoIterator for &'a SourceDescription
Source§impl PartialEq for SourceDescription
 
impl PartialEq for SourceDescription
Source§impl<'a> TryFrom<&'a SourceDescription> for Locate
 
impl<'a> TryFrom<&'a SourceDescription> for Locate
Source§impl TryFrom<AnyNode> for SourceDescription
 
impl TryFrom<AnyNode> for SourceDescription
Source§impl TryFrom<SourceDescription> for Locate
 
impl TryFrom<SourceDescription> for Locate
impl StructuralPartialEq for SourceDescription
Auto Trait Implementations§
impl Freeze for SourceDescription
impl RefUnwindSafe for SourceDescription
impl Send for SourceDescription
impl Sync for SourceDescription
impl Unpin for SourceDescription
impl UnwindSafe for SourceDescription
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