Enum erl_pp::Directive
[−]
[src]
pub enum Directive {
Include(Include),
IncludeLib(IncludeLib),
Define(Define),
Undef(Undef),
Ifdef(Ifdef),
Ifndef(Ifndef),
Else(Else),
Endif(Endif),
Error(Error),
Warning(Warning),
}Macro directive.
Variants
Include(Include)IncludeLib(IncludeLib)Define(Define)Undef(Undef)Ifdef(Ifdef)Ifndef(Ifndef)Else(Else)Endif(Endif)Error(Error)Warning(Warning)Trait Implementations
impl Debug for Directive[src]
impl Clone for Directive[src]
fn clone(&self) -> Directive
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl PositionRange for Directive[src]
fn start_position(&self) -> Position
Returns the (inclusive) start position of this.
fn end_position(&self) -> Position
Returns the (exclusive) end position of this.