Struct twig::error::Location [] [src]

pub struct Location {
    pub line: usize,
}

Location record in source file.

Fields

line

Methods

impl Location

fn new(line: usize) -> Location

Trait Implementations

Derived Implementations

impl Clone for Location

fn clone(&self) -> Location

fn clone_from(&mut self, source: &Self)

impl Copy for Location

impl Debug for Location

fn fmt(&self, __arg_0: &mut Formatter) -> Result