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§
source§impl Formatter
impl Formatter
pub fn pretty_expr( &self, source: &dyn Source, 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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more