pub enum ExportStyle {
None,
Named,
Grouped,
}Expand description
How to export types in the generated file
Variants§
None
No export keyword: type Foo = ...
Named
Named exports: export type Foo = ... (default)
Grouped
Export as grouped object at end: export { Foo, Bar }
Trait Implementations§
Source§impl Clone for ExportStyle
impl Clone for ExportStyle
Source§fn clone(&self) -> ExportStyle
fn clone(&self) -> ExportStyle
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExportStyle
impl Debug for ExportStyle
Source§impl Default for ExportStyle
impl Default for ExportStyle
Source§fn default() -> ExportStyle
fn default() -> ExportStyle
Returns the “default value” for a type. Read more
Source§impl PartialEq for ExportStyle
impl PartialEq for ExportStyle
impl Copy for ExportStyle
impl Eq for ExportStyle
impl StructuralPartialEq for ExportStyle
Auto Trait Implementations§
impl Freeze for ExportStyle
impl RefUnwindSafe for ExportStyle
impl Send for ExportStyle
impl Sync for ExportStyle
impl Unpin for ExportStyle
impl UnwindSafe for ExportStyle
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