pub enum PerformanceHint {
Vectorize,
UnrollLoops(u32),
OptimizeForLatency,
OptimizeForThroughput,
PerformanceCritical,
}Variants§
Trait Implementations§
Source§impl Clone for PerformanceHint
impl Clone for PerformanceHint
Source§fn clone(&self) -> PerformanceHint
fn clone(&self) -> PerformanceHint
Returns a duplicate 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 Debug for PerformanceHint
impl Debug for PerformanceHint
Source§impl<'de> Deserialize<'de> for PerformanceHint
impl<'de> Deserialize<'de> for PerformanceHint
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PerformanceHint
impl PartialEq for PerformanceHint
Source§impl Serialize for PerformanceHint
impl Serialize for PerformanceHint
impl Eq for PerformanceHint
impl StructuralPartialEq for PerformanceHint
Auto Trait Implementations§
impl Freeze for PerformanceHint
impl RefUnwindSafe for PerformanceHint
impl Send for PerformanceHint
impl Sync for PerformanceHint
impl Unpin for PerformanceHint
impl UnwindSafe for PerformanceHint
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