Struct superfilter::ast::Comment
[−]
[src]
pub struct Comment { pub content: String, pub inline: bool, }
Fields
content: String
inline: bool
Trait Implementations
impl Debug for Comment
[src]
impl Clone for Comment
[src]
fn clone(&self) -> Comment
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 PartialEq for Comment
[src]
fn eq(&self, __arg_0: &Comment) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Comment) -> bool
This method tests for !=
.
impl TransformResult for Comment
[src]
fn render(&self, ctx: RenderContext, buf: &mut Write) -> Result<(), Error>
Renders the output for this node into a writable stream.
fn return_value(&self) -> ScopeValue
Returns the return value of this AST structure if it has one. The return value of this function can be used in parent structures that base their transformation on the result of child nodes. Read more
impl Transform for Comment
[src]
fn transform(
&self,
ctx: TransformContext
) -> Result<Option<TransformedNode>, Error>
&self,
ctx: TransformContext
) -> Result<Option<TransformedNode>, Error>
Perform any transformations that need to be done before rendering this structure into plain GGG loot filter syntax Read more