Struct typstyle_core::pretty::PrettyPrinter
source · pub struct PrettyPrinter { /* private fields */ }Implementations§
source§impl PrettyPrinter
impl PrettyPrinter
pub fn new(attr_map: HashMap<SyntaxNode, Attributes>) -> Self
source§impl PrettyPrinter
impl PrettyPrinter
pub fn convert_markup<'a>(&'a self, root: Markup<'a>) -> BoxDoc<'a, ()>
Trait Implementations§
source§impl Debug for PrettyPrinter
impl Debug for PrettyPrinter
source§impl Default for PrettyPrinter
impl Default for PrettyPrinter
source§fn default() -> PrettyPrinter
fn default() -> PrettyPrinter
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PrettyPrinter
impl RefUnwindSafe for PrettyPrinter
impl Send for PrettyPrinter
impl Sync for PrettyPrinter
impl Unpin for PrettyPrinter
impl UnwindSafe for PrettyPrinter
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