pub struct SmalltalkFormatter { /* private fields */ }Expand description
Smalltalk Code Formatter
Implementations§
Source§impl SmalltalkFormatter
impl SmalltalkFormatter
pub fn new(config: FormatConfig) -> Self
pub fn format( &mut self, root: &RedNode<'_, SmalltalkLanguage>, source: &str, ) -> FormatResult<FormatOutput>
Auto Trait Implementations§
impl Freeze for SmalltalkFormatter
impl !RefUnwindSafe for SmalltalkFormatter
impl !Send for SmalltalkFormatter
impl !Sync for SmalltalkFormatter
impl Unpin for SmalltalkFormatter
impl !UnwindSafe for SmalltalkFormatter
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