pub struct NumericalOperationContract {
pub operation_id: OperationId,
pub version: ContractVersion,
pub multiplication_type: Option<ElementType>,
pub accumulation_type: Option<ElementType>,
}Expand description
The referenced operation version defines its internal ordering and rounding points. Arithmetic types are explicit here; copying/indexing operations have no multiplication or accumulation. A fused operation’s internal conversions remain part of its versioned operation contract.
Fields§
§operation_id: OperationId§version: ContractVersion§multiplication_type: Option<ElementType>§accumulation_type: Option<ElementType>Trait Implementations§
Source§impl Clone for NumericalOperationContract
impl Clone for NumericalOperationContract
Source§fn clone(&self) -> NumericalOperationContract
fn clone(&self) -> NumericalOperationContract
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 NumericalOperationContract
impl Debug for NumericalOperationContract
Source§impl<'de> Deserialize<'de> for NumericalOperationContract
impl<'de> Deserialize<'de> for NumericalOperationContract
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
impl Eq for NumericalOperationContract
impl StructuralPartialEq for NumericalOperationContract
Auto Trait Implementations§
impl Freeze for NumericalOperationContract
impl RefUnwindSafe for NumericalOperationContract
impl Send for NumericalOperationContract
impl Sync for NumericalOperationContract
impl Unpin for NumericalOperationContract
impl UnsafeUnpin for NumericalOperationContract
impl UnwindSafe for NumericalOperationContract
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