Struct gluon_format::Formatter
source · pub struct Formatter {
pub expanded: bool,
}
Fields
expanded: bool
Prints the source code after macro expansion
NOTE: This is only provided for debug purposes and is likely to have have bugs
Implementations
sourceimpl Formatter
impl Formatter
pub fn pretty_expr(&self, input: &str, expr: &SpannedExpr<Symbol>) -> String
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Formatter
impl Send for Formatter
impl Sync for Formatter
impl Unpin for Formatter
impl UnwindSafe for Formatter
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more