pub enum ConditionalCompilerDirective {
IfdefDirective(Box<IfdefDirective>),
IfndefDirective(Box<IfndefDirective>),
}
Variants§
IfdefDirective(Box<IfdefDirective>)
IfndefDirective(Box<IfndefDirective>)
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 for ConditionalCompilerDirective
impl PartialEq 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 ==
.source§impl<'a> TryFrom<&'a ConditionalCompilerDirective> for Locate
impl<'a> TryFrom<&'a ConditionalCompilerDirective> for Locate
source§impl TryFrom<ConditionalCompilerDirective> for Locate
impl TryFrom<ConditionalCompilerDirective> for Locate
impl StructuralPartialEq for ConditionalCompilerDirective
Auto Trait Implementations§
impl RefUnwindSafe for ConditionalCompilerDirective
impl Send for ConditionalCompilerDirective
impl Sync for ConditionalCompilerDirective
impl Unpin for ConditionalCompilerDirective
impl UnwindSafe for ConditionalCompilerDirective
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