pub enum IntegerError {
LengthMismatch,
NegativeMultiplier,
ShiftOutOfRange,
InputOutOfRange,
AccumulatorOverflow,
}Expand description
A TOSA integer arithmetic precondition was not satisfied.
Variants§
LengthMismatch
Operands that form one dot product have different lengths.
NegativeMultiplier
TOSA requires a non-negative fixed-point multiplier.
ShiftOutOfRange
TOSA scaling shifts are restricted to the inclusive range 2..=62.
InputOutOfRange
The input violates an operator REQUIRE range.
AccumulatorOverflow
Exact intermediate arithmetic does not fit its TOSA accumulator type.
Trait Implementations§
Source§impl Clone for IntegerError
impl Clone for IntegerError
Source§fn clone(&self) -> IntegerError
fn clone(&self) -> IntegerError
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 moreimpl Copy for IntegerError
Source§impl Debug for IntegerError
impl Debug for IntegerError
impl Eq for IntegerError
Source§impl PartialEq for IntegerError
impl PartialEq for IntegerError
Source§fn eq(&self, other: &IntegerError) -> bool
fn eq(&self, other: &IntegerError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IntegerError
Auto Trait Implementations§
impl Freeze for IntegerError
impl RefUnwindSafe for IntegerError
impl Send for IntegerError
impl Sync for IntegerError
impl Unpin for IntegerError
impl UnsafeUnpin for IntegerError
impl UnwindSafe for IntegerError
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