pub struct ExportConfig {
pub simple: bool,
pub deprecated: bool,
pub no_return: bool,
pub no_except: bool,
pub no_discard: bool,
pub only_generated_types: bool,
}
Fields§
§simple: bool
§deprecated: bool
§no_return: bool
§no_except: bool
§no_discard: bool
§only_generated_types: bool
Implementations§
Source§impl ExportConfig
impl ExportConfig
Sourcepub fn make_export(_: &mut ExportConfig)
pub fn make_export(_: &mut ExportConfig)
Doesn’t change export config, but putting it into ELEMENT_EXPORT_TWEAK
will force the creation of the default ExportConfig
pub fn make_boxed(src: &mut ExportConfig)
pub fn make_simple(src: &mut ExportConfig)
Trait Implementations§
Source§impl Clone for ExportConfig
impl Clone for ExportConfig
Source§fn clone(&self) -> ExportConfig
fn clone(&self) -> ExportConfig
Returns a copy 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 ExportConfig
impl Debug for ExportConfig
Source§impl Default for ExportConfig
impl Default for ExportConfig
Source§fn default() -> ExportConfig
fn default() -> ExportConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ExportConfig
impl RefUnwindSafe for ExportConfig
impl Send for ExportConfig
impl Sync for ExportConfig
impl Unpin for ExportConfig
impl UnwindSafe for ExportConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)