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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ExportStyle
Source§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
impl Eq for ExportStyle
Source§impl PartialEq for ExportStyle
impl PartialEq for ExportStyle
Source§fn eq(&self, other: &ExportStyle) -> bool
fn eq(&self, other: &ExportStyle) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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