Struct nginx_config::ast::If [−][src]
pub struct If { pub position: (Pos, Pos), pub condition: IfCondition, pub directives: Vec<Directive>, }
Fields
position: (Pos, Pos)
condition: IfCondition
directives: Vec<Directive>
Trait Implementations
impl Debug for If
[src]
impl Debug for If
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for If
[src]
impl Clone for If
fn clone(&self) -> If
[src]
fn clone(&self) -> If
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for If
[src]
impl PartialEq for If
fn eq(&self, other: &If) -> bool
[src]
fn eq(&self, other: &If) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &If) -> bool
[src]
fn ne(&self, other: &If) -> bool
This method tests for !=
.
impl Eq for If
[src]
impl Eq for If