#[non_exhaustive]pub enum FastCompileLevel {
Zero,
Min,
Mid,
Max,
}Expand description
Amount of optimization disabled to improve device compilation speed.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Zero
Disables fast-compile mode.
Min
Disables a limited set of expensive optimizations to reduce compilation time.
Mid
Disables more expensive optimizations to balance compilation time and runtime performance.
Max
Prioritizes compilation speed by disabling many optimizations.
Trait Implementations§
Source§impl Clone for FastCompileLevel
impl Clone for FastCompileLevel
impl Copy for FastCompileLevel
Source§impl Debug for FastCompileLevel
impl Debug for FastCompileLevel
Source§impl Display for FastCompileLevel
impl Display for FastCompileLevel
impl Eq for FastCompileLevel
Source§impl Hash for FastCompileLevel
impl Hash for FastCompileLevel
Source§impl PartialEq for FastCompileLevel
impl PartialEq for FastCompileLevel
impl StructuralPartialEq for FastCompileLevel
Auto Trait Implementations§
impl Forget for FastCompileLevel
impl Freeze for FastCompileLevel
impl Move for FastCompileLevel
impl RefUnwindSafe for FastCompileLevel
impl Send for FastCompileLevel
impl Sync for FastCompileLevel
impl Unpin for FastCompileLevel
impl UnsafeUnpin for FastCompileLevel
impl UnwindSafe for FastCompileLevel
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.