pub struct LinkingConfig {
pub imports: Vec<String>,
pub export_all: bool,
pub preserve_custom_sections: bool,
pub generate_names: bool,
}Expand description
Linking configuration
Fields§
§imports: Vec<String>Import modules
export_all: boolExport all public functions
preserve_custom_sections: boolCustom section preservation
generate_names: boolName section generation
Trait Implementations§
Source§impl Clone for LinkingConfig
impl Clone for LinkingConfig
Source§fn clone(&self) -> LinkingConfig
fn clone(&self) -> LinkingConfig
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 LinkingConfig
impl Debug for LinkingConfig
Source§impl Default for LinkingConfig
impl Default for LinkingConfig
Source§impl<'de> Deserialize<'de> for LinkingConfig
impl<'de> Deserialize<'de> for LinkingConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LinkingConfig
impl RefUnwindSafe for LinkingConfig
impl Send for LinkingConfig
impl Sync for LinkingConfig
impl Unpin for LinkingConfig
impl UnwindSafe for LinkingConfig
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