pub struct IfndefDirective {
pub nodes: (Symbol, Keyword, TextMacroIdentifier, IfndefGroupOfLines, Vec<(Symbol, Keyword, TextMacroIdentifier, ElsifGroupOfLines)>, Option<(Symbol, Keyword, ElseGroupOfLines)>, Symbol, Keyword),
}
Fields§
§nodes: (Symbol, Keyword, TextMacroIdentifier, IfndefGroupOfLines, Vec<(Symbol, Keyword, TextMacroIdentifier, ElsifGroupOfLines)>, Option<(Symbol, Keyword, ElseGroupOfLines)>, Symbol, Keyword)
Trait Implementations§
source§impl Clone for IfndefDirective
impl Clone for IfndefDirective
source§fn clone(&self) -> IfndefDirective
fn clone(&self) -> IfndefDirective
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 IfndefDirective
impl Debug for IfndefDirective
source§impl<'a> From<&'a IfndefDirective> for RefNode<'a>
impl<'a> From<&'a IfndefDirective> for RefNode<'a>
source§fn from(x: &'a IfndefDirective) -> Self
fn from(x: &'a IfndefDirective) -> Self
Converts to this type from the input type.
source§impl<'a> From<&'a IfndefDirective> for RefNodes<'a>
impl<'a> From<&'a IfndefDirective> for RefNodes<'a>
source§fn from(x: &'a IfndefDirective) -> Self
fn from(x: &'a IfndefDirective) -> Self
Converts to this type from the input type.
source§impl From<IfndefDirective> for AnyNode
impl From<IfndefDirective> for AnyNode
source§fn from(x: IfndefDirective) -> Self
fn from(x: IfndefDirective) -> Self
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a IfndefDirective
impl<'a> IntoIterator for &'a IfndefDirective
source§impl PartialEq for IfndefDirective
impl PartialEq for IfndefDirective
source§fn eq(&self, other: &IfndefDirective) -> bool
fn eq(&self, other: &IfndefDirective) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> TryFrom<&'a IfndefDirective> for Locate
impl<'a> TryFrom<&'a IfndefDirective> for Locate
source§impl TryFrom<AnyNode> for IfndefDirective
impl TryFrom<AnyNode> for IfndefDirective
source§impl TryFrom<IfndefDirective> for Locate
impl TryFrom<IfndefDirective> for Locate
impl StructuralPartialEq for IfndefDirective
Auto Trait Implementations§
impl RefUnwindSafe for IfndefDirective
impl Send for IfndefDirective
impl Sync for IfndefDirective
impl Unpin for IfndefDirective
impl UnwindSafe for IfndefDirective
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