Struct nginx_config::ast::Location [−][src]
pub struct Location {
pub position: (Pos, Pos),
pub pattern: LocationPattern,
pub directives: Vec<Directive>,
}Fields
position: (Pos, Pos)
pattern: LocationPattern
directives: Vec<Directive>
Trait Implementations
impl Debug for Location[src]
impl Debug for Locationfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for Location[src]
impl Clone for Locationfn clone(&self) -> Location[src]
fn clone(&self) -> LocationReturns 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 Location[src]
impl PartialEq for Locationfn eq(&self, other: &Location) -> bool[src]
fn eq(&self, other: &Location) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Location) -> bool[src]
fn ne(&self, other: &Location) -> boolThis method tests for !=.
impl Eq for Location[src]
impl Eq for Location