//! TODO docs
use crate::;
use ;
use fmt;
/// TODO docs
// impl Add for ExtendedAsset {
// type Output = Self;
// fn add(self, other: Self) -> Self {
// check(self.contract == other.contract, "type mismatch");
// ExtendedAsset {
// quantity: self.quantity + other.quantity,
// contract: self.contract,
// }
// }
// }
// impl AddAssign for ExtendedAsset {
// fn add_assign(&mut self, other: Self) {
// check(self.contract == other.contract, "type mismatch");
// self.quantity += other.quantity
// }
// }
// impl Sub for ExtendedAsset {
// type Output = Self;
// fn sub(self, other: Self) -> Self {
// check(self.contract == other.contract, "type mismatch");
// ExtendedAsset {
// quantity: self.quantity - other.quantity,
// contract: self.contract,
// }
// }
// }
// impl SubAssign for ExtendedAsset {
// fn sub_assign(&mut self, other: Self) {
// check(self.contract == other.contract, "type mismatch");
// self.quantity -= other.quantity
// }
// }
// impl Mul for ExtendedAsset {
// type Output = Self;
// fn mul(self, other: Self) -> Self {
// check(self.contract == other.contract, "type mismatch");
// ExtendedAsset {
// quantity: self.quantity * other.quantity,
// contract: self.contract,
// }
// }
// }
// impl MulAssign for ExtendedAsset {
// fn mul_assign(&mut self, other: Self) {
// check(self.contract == other.contract, "type mismatch");
// self.quantity *= other.quantity
// }
// }
// impl Div for ExtendedAsset {
// type Output = Self;
// fn div(self, other: Self) -> Self {
// check(self.contract == other.contract, "type mismatch");
// ExtendedAsset {
// quantity: self.quantity / other.quantity,
// contract: self.contract,
// }
// }
// }
// impl DivAssign for ExtendedAsset {
// fn div_assign(&mut self, other: Self) {
// check(self.contract == other.contract, "type mismatch");
// self.quantity /= other.quantity
// }
// }
// impl Rem for ExtendedAsset {
// type Output = Self;
// fn rem(self, other: Self) -> Self {
// check(self.contract == other.contract, "type mismatch");
// ExtendedAsset {
// quantity: self.quantity % other.quantity,
// contract: self.contract,
// }
// }
// }
// impl RemAssign for ExtendedAsset {
// fn rem_assign(&mut self, other: Self) {
// check(self.contract == other.contract, "type mismatch");
// self.quantity %= other.quantity
// }
// }