pub struct Config { /* private fields */ }Expand description
Configuration for TypeScript emission.
Implementations§
Source§impl Config
impl Config
Sourcepub fn emit_node_type(self, value: bool) -> Self
pub fn emit_node_type(self, value: bool) -> Self
Set whether to emit the Node type definition.
Sourcepub fn verbose_nodes(self, value: bool) -> Self
pub fn verbose_nodes(self, value: bool) -> Self
Set whether to use verbose node representation.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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