Struct nginx_config::ast::Directive[][src]

pub struct Directive {
    pub position: Pos,
    pub item: Item,
}

Fields

Methods

impl Directive
[src]

Executes function on all the Value things (not recursively)

This is useful for substituting variables.

The callback isn't called for directives inside the { block }, so this function might be better used with visit_mutable

Trait Implementations

impl Debug for Directive
[src]

Formats the value using the given formatter. Read more

impl Clone for Directive
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Directive
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Directive
[src]

impl Display for Directive
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Directive

impl Sync for Directive