pub struct Singlepass { /* private fields */ }
Implementations§
Source§impl Singlepass
impl Singlepass
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates a new configuration object with the default configuration specified.
Sourcepub fn enable_stack_check(&mut self, enable: bool) -> &mut Self
pub fn enable_stack_check(&mut self, enable: bool) -> &mut Self
Enable stack check.
When enabled, an explicit stack depth check will be performed on entry to each function to prevent stack overflow.
Note that this doesn’t guarantee deterministic execution across different platforms.
pub fn canonicalize_nans(&mut self, enable: bool) -> &mut Self
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 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 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
Auto Trait Implementations§
impl Freeze for Singlepass
impl RefUnwindSafe for Singlepass
impl Send for Singlepass
impl Sync for Singlepass
impl Unpin for Singlepass
impl UnwindSafe for Singlepass
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§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.
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more