Struct reproto_ast::Code
[−]
[src]
pub struct Code<'input> { pub attributes: Vec<Loc<Attribute<'input>>>, pub context: Loc<Cow<'input, str>>, pub content: Vec<Cow<'input, str>>, }
A contextual code-block.
Fields
attributes: Vec<Loc<Attribute<'input>>>
context: Loc<Cow<'input, str>>
content: Vec<Cow<'input, str>>
Trait Implementations
impl<'input> Debug for Code<'input>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'input> PartialEq for Code<'input>
[src]
fn eq(&self, __arg_0: &Code<'input>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Code<'input>) -> bool
[src]
This method tests for !=
.