pub enum CompilerDirective {
Show 18 variants
ResetallCompilerDirective(Box<ResetallCompilerDirective>),
IncludeCompilerDirective(Box<IncludeCompilerDirective>),
TextMacroDefinition(Box<TextMacroDefinition>),
TextMacroUsage(Box<TextMacroUsage>),
UndefineCompilerDirective(Box<UndefineCompilerDirective>),
UndefineallCompilerDirective(Box<UndefineallCompilerDirective>),
ConditionalCompilerDirective(Box<ConditionalCompilerDirective>),
TimescaleCompilerDirective(Box<TimescaleCompilerDirective>),
DefaultNettypeCompilerDirective(Box<DefaultNettypeCompilerDirective>),
UnconnectedDriveCompilerDirective(Box<UnconnectedDriveCompilerDirective>),
NounconnectedDriveCompilerDirective(Box<NounconnectedDriveCompilerDirective>),
CelldefineDriveCompilerDirective(Box<CelldefineDriveCompilerDirective>),
EndcelldefineDriveCompilerDirective(Box<EndcelldefineDriveCompilerDirective>),
Pragma(Box<Pragma>),
LineCompilerDirective(Box<LineCompilerDirective>),
PositionCompilerDirective(Box<PositionCompilerDirective>),
KeywordsDirective(Box<KeywordsDirective>),
EndkeywordsDirective(Box<EndkeywordsDirective>),
}
Variants§
ResetallCompilerDirective(Box<ResetallCompilerDirective>)
IncludeCompilerDirective(Box<IncludeCompilerDirective>)
TextMacroDefinition(Box<TextMacroDefinition>)
TextMacroUsage(Box<TextMacroUsage>)
UndefineCompilerDirective(Box<UndefineCompilerDirective>)
UndefineallCompilerDirective(Box<UndefineallCompilerDirective>)
ConditionalCompilerDirective(Box<ConditionalCompilerDirective>)
TimescaleCompilerDirective(Box<TimescaleCompilerDirective>)
DefaultNettypeCompilerDirective(Box<DefaultNettypeCompilerDirective>)
UnconnectedDriveCompilerDirective(Box<UnconnectedDriveCompilerDirective>)
NounconnectedDriveCompilerDirective(Box<NounconnectedDriveCompilerDirective>)
CelldefineDriveCompilerDirective(Box<CelldefineDriveCompilerDirective>)
EndcelldefineDriveCompilerDirective(Box<EndcelldefineDriveCompilerDirective>)
Pragma(Box<Pragma>)
LineCompilerDirective(Box<LineCompilerDirective>)
PositionCompilerDirective(Box<PositionCompilerDirective>)
KeywordsDirective(Box<KeywordsDirective>)
EndkeywordsDirective(Box<EndkeywordsDirective>)
Trait Implementations§
source§impl Clone for CompilerDirective
impl Clone for CompilerDirective
source§fn clone(&self) -> CompilerDirective
fn clone(&self) -> CompilerDirective
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 CompilerDirective
impl Debug for CompilerDirective
source§impl<'a> From<&'a CompilerDirective> for RefNode<'a>
impl<'a> From<&'a CompilerDirective> for RefNode<'a>
source§fn from(x: &'a CompilerDirective) -> Self
fn from(x: &'a CompilerDirective) -> Self
Converts to this type from the input type.
source§impl<'a> From<&'a CompilerDirective> for RefNodes<'a>
impl<'a> From<&'a CompilerDirective> for RefNodes<'a>
source§fn from(x: &'a CompilerDirective) -> Self
fn from(x: &'a CompilerDirective) -> Self
Converts to this type from the input type.
source§impl From<CompilerDirective> for AnyNode
impl From<CompilerDirective> for AnyNode
source§fn from(x: CompilerDirective) -> Self
fn from(x: CompilerDirective) -> Self
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a CompilerDirective
impl<'a> IntoIterator for &'a CompilerDirective
source§impl PartialEq<CompilerDirective> for CompilerDirective
impl PartialEq<CompilerDirective> for CompilerDirective
source§fn eq(&self, other: &CompilerDirective) -> bool
fn eq(&self, other: &CompilerDirective) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.