Struct wasmer::Singlepass
source · pub struct Singlepass { /* private fields */ }
Implementations§
source§impl Singlepass
impl Singlepass
sourcepub fn new() -> Singlepass
pub fn new() -> Singlepass
Creates a new configuration object with the default configuration specified.
pub fn canonicalize_nans(&mut self, enable: bool) -> &mut Singlepass
Trait Implementations§
source§impl Clone for Singlepass
impl Clone for Singlepass
source§fn clone(&self) -> Singlepass
fn clone(&self) -> Singlepass
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 CompilerConfig for Singlepass
impl CompilerConfig for Singlepass
source§fn compiler(
self: Box<Singlepass, Global>
) -> Box<dyn Compiler + 'static, Global>
fn compiler(
self: Box<Singlepass, Global>
) -> Box<dyn Compiler + 'static, Global>
Transform it into the compiler
source§fn default_features_for_target(&self, _target: &Target) -> Features
fn default_features_for_target(&self, _target: &Target) -> Features
Gets the default features for this compiler in the given target
source§fn push_middleware(&mut self, middleware: Arc<dyn ModuleMiddleware + 'static>)
fn push_middleware(&mut self, middleware: Arc<dyn ModuleMiddleware + 'static>)
Pushes a middleware onto the back of the middleware chain.
source§fn enable_pic(&mut self)
fn enable_pic(&mut self)
Enable Position Independent Code (PIC). Read more
source§fn enable_verifier(&mut self)
fn enable_verifier(&mut self)
Enable compiler IR verification. Read more
source§fn enable_nan_canonicalization(&mut self)
fn enable_nan_canonicalization(&mut self)
👎Deprecated: Please use the canonicalize_nans instead
Enable NaN canonicalization. Read more
source§fn canonicalize_nans(&mut self, _enable: bool)
fn canonicalize_nans(&mut self, _enable: bool)
Enable NaN canonicalization. Read more
source§impl Debug for Singlepass
impl Debug for Singlepass
source§impl Default for Singlepass
impl Default for Singlepass
source§fn default() -> Singlepass
fn default() -> Singlepass
Returns the “default value” for a type. Read more
source§impl From<Singlepass> for Engine
impl From<Singlepass> for Engine
source§fn from(config: Singlepass) -> Engine
fn from(config: Singlepass) -> Engine
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for Singlepass
impl Send for Singlepass
impl Sync for Singlepass
impl Unpin for Singlepass
impl !UnwindSafe for Singlepass
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
§impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
§fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer