pub struct EvaluationBounds {
pub min: i32,
pub max: i32,
}Expand description
The bounds of a function evaluation.
Fields§
§min: i32The minimum value of the function.
max: i32The maximum value of the function.
Implementations§
Trait Implementations§
Source§impl Add for EvaluationBounds
impl Add for EvaluationBounds
Source§impl AddAssign for EvaluationBounds
impl AddAssign for EvaluationBounds
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+= operation. Read moreSource§impl Clone for EvaluationBounds
impl Clone for EvaluationBounds
Source§fn clone(&self) -> EvaluationBounds
fn clone(&self) -> EvaluationBounds
Returns a copy 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 EvaluationBounds
impl Debug for EvaluationBounds
Source§impl Default for EvaluationBounds
impl Default for EvaluationBounds
Source§fn default() -> EvaluationBounds
fn default() -> EvaluationBounds
Returns the “default value” for a type. Read more
Source§impl Display for EvaluationBounds
impl Display for EvaluationBounds
Source§impl Div for EvaluationBounds
impl Div for EvaluationBounds
Source§impl DivAssign for EvaluationBounds
impl DivAssign for EvaluationBounds
Source§fn div_assign(&mut self, rhs: Self)
fn div_assign(&mut self, rhs: Self)
Performs the
/= operation. Read moreSource§impl From<EvaluationBounds> for (i32, i32)
impl From<EvaluationBounds> for (i32, i32)
Source§fn from(bounds: EvaluationBounds) -> Self
fn from(bounds: EvaluationBounds) -> Self
Converts to this type from the input type.
Source§impl From<EvaluationBounds> for RangeInclusive<i32>
impl From<EvaluationBounds> for RangeInclusive<i32>
Source§fn from(bounds: EvaluationBounds) -> Self
fn from(bounds: EvaluationBounds) -> Self
Converts to this type from the input type.
Source§impl From<i32> for EvaluationBounds
impl From<i32> for EvaluationBounds
Source§impl Mul for EvaluationBounds
impl Mul for EvaluationBounds
Source§impl MulAssign for EvaluationBounds
impl MulAssign for EvaluationBounds
Source§fn mul_assign(&mut self, rhs: Self)
fn mul_assign(&mut self, rhs: Self)
Performs the
*= operation. Read moreSource§impl Neg for EvaluationBounds
impl Neg for EvaluationBounds
Source§impl PartialEq for EvaluationBounds
impl PartialEq for EvaluationBounds
Source§impl Rem for EvaluationBounds
impl Rem for EvaluationBounds
Source§impl RemAssign for EvaluationBounds
impl RemAssign for EvaluationBounds
Source§fn rem_assign(&mut self, rhs: Self)
fn rem_assign(&mut self, rhs: Self)
Performs the
%= operation. Read moreSource§impl Sub for EvaluationBounds
impl Sub for EvaluationBounds
Source§impl SubAssign for EvaluationBounds
impl SubAssign for EvaluationBounds
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-= operation. Read moreimpl Copy for EvaluationBounds
impl Eq for EvaluationBounds
impl StructuralPartialEq for EvaluationBounds
Auto Trait Implementations§
impl Freeze for EvaluationBounds
impl RefUnwindSafe for EvaluationBounds
impl Send for EvaluationBounds
impl Sync for EvaluationBounds
impl Unpin for EvaluationBounds
impl UnwindSafe for EvaluationBounds
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