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