pub struct MangleConfig {
pub rename_types: RenameRule,
pub remove_underscores: bool,
}
Expand description
Mangling-specific configuration.
Fields§
§rename_types: RenameRule
The rename rule to apply to the type names mangled.
remove_underscores: bool
Remove the underscores used for name mangling.
Trait Implementations§
Source§impl Clone for MangleConfig
impl Clone for MangleConfig
Source§fn clone(&self) -> MangleConfig
fn clone(&self) -> MangleConfig
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 MangleConfig
impl Debug for MangleConfig
Source§impl Default for MangleConfig
impl Default for MangleConfig
Source§fn default() -> MangleConfig
fn default() -> MangleConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MangleConfigwhere
MangleConfig: Default,
impl<'de> Deserialize<'de> for MangleConfigwhere
MangleConfig: Default,
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 MangleConfig
impl RefUnwindSafe for MangleConfig
impl Send for MangleConfig
impl Sync for MangleConfig
impl Unpin for MangleConfig
impl UnwindSafe for MangleConfig
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