pub struct Config { /* private fields */ }
Implementations§
Source§impl Config
impl Config
Sourcepub fn demangle(&mut self, demangle: bool) -> &mut Self
pub fn demangle(&mut self, demangle: bool) -> &mut Self
Configures whether or not this will demangle symbols as part of the gc pass.
Sourcepub fn keep_debug(&mut self, keep_debug: bool) -> &mut Self
pub fn keep_debug(&mut self, keep_debug: bool) -> &mut Self
Configures whether or not debug sections will be preserved.
pub fn run<T: Any>( &mut self, module: T, into_bytes: impl FnOnce(T) -> Vec<u8>, ) -> Result<GcResult, Error>
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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