Struct twig::template::raw::Raw [] [src]

pub struct Raw {
    pub code: String,
    // some fields omitted
}

Fields

code: String

Methods

impl Raw
[src]

fn new<C, N>(code: C, name: N) -> Raw where C: ToString, N: ToString

fn name(&self) -> &str

Trait Implementations

impl Default for Raw
[src]

fn default() -> Raw

Returns the "default value" for a type. Read more

impl Clone for Raw
[src]

fn clone(&self) -> Raw

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 Debug for Raw
[src]

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

Formats the value using the given formatter.

impl Display for Raw
[src]

fn fmt(&self, f: &mut Formatter) -> Result<()Error>

Formats the value using the given formatter.