pub enum NumericalExecutionPolicy {
Auto,
Require(NumericalProfileId),
}Expand description
A request, never proof that a numerical profile can execute on a device.
Require must fail if its complete declared program cannot be supported.
Variants§
Auto
Require(NumericalProfileId)
Trait Implementations§
Source§impl Clone for NumericalExecutionPolicy
impl Clone for NumericalExecutionPolicy
Source§fn clone(&self) -> NumericalExecutionPolicy
fn clone(&self) -> NumericalExecutionPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NumericalExecutionPolicy
impl Debug for NumericalExecutionPolicy
Source§impl Default for NumericalExecutionPolicy
impl Default for NumericalExecutionPolicy
Source§fn default() -> NumericalExecutionPolicy
fn default() -> NumericalExecutionPolicy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NumericalExecutionPolicy
impl<'de> Deserialize<'de> for NumericalExecutionPolicy
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<NumericalExecutionPolicy, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<NumericalExecutionPolicy, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for NumericalExecutionPolicy
Source§impl FromStr for NumericalExecutionPolicy
impl FromStr for NumericalExecutionPolicy
Source§impl PartialEq for NumericalExecutionPolicy
impl PartialEq for NumericalExecutionPolicy
Source§impl Serialize for NumericalExecutionPolicy
impl Serialize for NumericalExecutionPolicy
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for NumericalExecutionPolicy
Auto Trait Implementations§
impl Freeze for NumericalExecutionPolicy
impl RefUnwindSafe for NumericalExecutionPolicy
impl Send for NumericalExecutionPolicy
impl Sync for NumericalExecutionPolicy
impl Unpin for NumericalExecutionPolicy
impl UnsafeUnpin for NumericalExecutionPolicy
impl UnwindSafe for NumericalExecutionPolicy
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