pub struct JsNameMangler {
pub namespace: String,
pub preserve_case: bool,
}Expand description
Extended name mangler with support for module namespaces.
Fields§
§namespace: StringNamespace prefix (e.g., “Lean” for Lean library functions).
preserve_case: boolWhether to preserve original capitalization.
Implementations§
Source§impl JsNameMangler
impl JsNameMangler
Auto Trait Implementations§
impl Freeze for JsNameMangler
impl RefUnwindSafe for JsNameMangler
impl Send for JsNameMangler
impl Sync for JsNameMangler
impl Unpin for JsNameMangler
impl UnsafeUnpin for JsNameMangler
impl UnwindSafe for JsNameMangler
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