pub struct NonNegativeIntegers;
Expand description
Type representing the set of unsigned 64-bit integers.
Trait Implementations§
Source§impl Clone for NonNegativeIntegers
impl Clone for NonNegativeIntegers
Source§fn clone(&self) -> NonNegativeIntegers
fn clone(&self) -> NonNegativeIntegers
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 NonNegativeIntegers
impl Debug for NonNegativeIntegers
Source§impl Display for NonNegativeIntegers
impl Display for NonNegativeIntegers
Source§impl Intersect for NonNegativeIntegers
impl Intersect for NonNegativeIntegers
Source§fn intersect(self, _: &NonNegativeIntegers) -> Self
fn intersect(self, _: &NonNegativeIntegers) -> Self
Return the smallest space enclosing
self
and other
of type Self
.Source§fn intersect_many(self, other_spaces: &[S]) -> Selfwhere
Self: Sized,
fn intersect_many(self, other_spaces: &[S]) -> Selfwhere
Self: Sized,
Return the smallest space enclosing
self
and all other_spaces
of
type Self
.Source§impl OrderedSpace for NonNegativeIntegers
impl OrderedSpace for NonNegativeIntegers
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.Source§impl Space for NonNegativeIntegers
impl Space for NonNegativeIntegers
Source§impl Union for NonNegativeIntegers
impl Union for NonNegativeIntegers
Source§fn union(self, _: &NonNegativeIntegers) -> Self
fn union(self, _: &NonNegativeIntegers) -> Self
Return a space enclosing
self
and other
of type Self
.Source§fn union_many(self, other_spaces: &[S]) -> Selfwhere
Self: Sized,
fn union_many(self, other_spaces: &[S]) -> Selfwhere
Self: Sized,
Return a space enclosing
self
and all other_spaces
of
type Self
.impl Copy for NonNegativeIntegers
Auto Trait Implementations§
impl Freeze for NonNegativeIntegers
impl RefUnwindSafe for NonNegativeIntegers
impl Send for NonNegativeIntegers
impl Sync for NonNegativeIntegers
impl Unpin for NonNegativeIntegers
impl UnwindSafe for NonNegativeIntegers
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