pub struct Integers;Expand description
Type representing the set of 64-bit integers.
Trait Implementations§
Source§impl OrderedSpace for Integers
impl OrderedSpace for Integers
Source§fn min(&self) -> Option<Self::Value>
fn min(&self) -> Option<Self::Value>
Returns the value of the space’s minimum value, if it exists.
Source§fn max(&self) -> Option<Self::Value>
fn max(&self) -> Option<Self::Value>
Returns the value of the dimension’s supremum, if it exists.
Source§fn is_lower_bounded(&self) -> bool
fn is_lower_bounded(&self) -> bool
Returns true iff
self has a well-defined infimum.Source§fn is_upper_bounded(&self) -> bool
fn is_upper_bounded(&self) -> bool
Returns true iff
self has a well-defined supremum.Source§fn is_bounded(&self) -> bool
fn is_bounded(&self) -> bool
Returns true iff
self has a well-defined minimum and maximum.impl Copy for Integers
Auto Trait Implementations§
impl Freeze for Integers
impl RefUnwindSafe for Integers
impl Send for Integers
impl Sync for Integers
impl Unpin for Integers
impl UnwindSafe for Integers
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