Struct superfilter::ast::transform::RenderContext
[−]
[src]
pub struct RenderContext<'a> { pub config: &'a RenderConfig, pub indent_level: isize, }
Holds any contextual information needed to render a node
Fields
config: &'a RenderConfig
indent_level: isize
Methods
impl<'a> RenderContext<'a>
[src]
fn write_indent(&self, buf: &mut Write) -> Result<usize>
fn increase_indent(&self) -> Self
Trait Implementations
impl<'a> Clone for RenderContext<'a>
[src]
fn clone(&self) -> RenderContext<'a>
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