[−][src]Struct ucglib::ast::printer::AstPrinter
Implementations
impl<'a, W> AstPrinter<'a, W> where
W: Write, [src]
W: Write,
pub fn new(indent: usize, w: W) -> Self[src]
pub fn with_comment_map(self, map: &'a CommentMap) -> Self[src]
pub fn render_value(&mut self, v: &Value) -> Result<()>[src]
pub fn render_expr(&mut self, expr: &Expression) -> Result<()>[src]
pub fn render_stmt(
&mut self,
stmt: &Statement,
prefix_newline: bool
) -> Result<()>[src]
&mut self,
stmt: &Statement,
prefix_newline: bool
) -> Result<()>
pub fn render(&mut self, stmts: &Vec<Statement>) -> Result<()>[src]
Auto Trait Implementations
impl<'a, W> RefUnwindSafe for AstPrinter<'a, W> where
W: RefUnwindSafe,
W: RefUnwindSafe,
impl<'a, W> Send for AstPrinter<'a, W> where
W: Send,
W: Send,
impl<'a, W> Sync for AstPrinter<'a, W> where
W: Sync,
W: Sync,
impl<'a, W> Unpin for AstPrinter<'a, W> where
W: Unpin,
W: Unpin,
impl<'a, W> UnwindSafe for AstPrinter<'a, W> where
W: UnwindSafe,
W: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,