pub struct MulConstraint {
pub a: Operand,
pub b: Operand,
pub hi: Operand,
pub lo: Operand,
}
Expand description
MUL constraint: A * B = (HI << 64) | LO
.
64-bit unsigned integer multiplication producing 128-bit result split into high and low 64-bit words.
Fields§
§a: Operand
A operand.
b: Operand
B operand.
hi: Operand
HI operand.
The high 64 bits of the result of the multiplication.
lo: Operand
LO operand.
The low 64 bits of the result of the multiplication.
Trait Implementations§
Source§impl Clone for MulConstraint
impl Clone for MulConstraint
Source§fn clone(&self) -> MulConstraint
fn clone(&self) -> MulConstraint
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 MulConstraint
impl Debug for MulConstraint
Source§impl Default for MulConstraint
impl Default for MulConstraint
Source§fn default() -> MulConstraint
fn default() -> MulConstraint
Returns the “default value” for a type. Read more
Source§impl DeserializeBytes for MulConstraint
impl DeserializeBytes for MulConstraint
fn deserialize(read_buf: impl Buf) -> Result<Self, SerializationError>where
Self: Sized,
Source§impl SerializeBytes for MulConstraint
impl SerializeBytes for MulConstraint
Auto Trait Implementations§
impl Freeze for MulConstraint
impl RefUnwindSafe for MulConstraint
impl Send for MulConstraint
impl Sync for MulConstraint
impl Unpin for MulConstraint
impl UnwindSafe for MulConstraint
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more