pub struct EmitterConfig {
pub indent_width: usize,
pub use_tabs: bool,
pub semicolons: bool,
pub arrow_functions: bool,
}Expand description
Configuration for code emission
Fields§
§indent_width: usize§use_tabs: bool§semicolons: bool§arrow_functions: boolTrait Implementations§
Source§impl Clone for EmitterConfig
impl Clone for EmitterConfig
Source§impl Debug for EmitterConfig
impl Debug for EmitterConfig
Auto Trait Implementations§
impl Freeze for EmitterConfig
impl RefUnwindSafe for EmitterConfig
impl Send for EmitterConfig
impl Sync for EmitterConfig
impl Unpin for EmitterConfig
impl UnsafeUnpin for EmitterConfig
impl UnwindSafe for EmitterConfig
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