pub struct NonZeroIntegers;
Expand description
Type representing the set of non-zero 64-bit integers.
Trait Implementations§
Source§impl Clone for NonZeroIntegers
impl Clone for NonZeroIntegers
Source§fn clone(&self) -> NonZeroIntegers
fn clone(&self) -> NonZeroIntegers
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 NonZeroIntegers
impl Debug for NonZeroIntegers
Source§impl Display for NonZeroIntegers
impl Display for NonZeroIntegers
Source§impl Intersect for NonZeroIntegers
impl Intersect for NonZeroIntegers
Source§fn intersect(self, _: &NonZeroIntegers) -> Self
fn intersect(self, _: &NonZeroIntegers) -> 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 NonZeroIntegers
impl OrderedSpace for NonZeroIntegers
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.Source§impl Space for NonZeroIntegers
impl Space for NonZeroIntegers
Source§impl Union for NonZeroIntegers
impl Union for NonZeroIntegers
Source§fn union(self, _: &NonZeroIntegers) -> Self
fn union(self, _: &NonZeroIntegers) -> 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 NonZeroIntegers
Auto Trait Implementations§
impl Freeze for NonZeroIntegers
impl RefUnwindSafe for NonZeroIntegers
impl Send for NonZeroIntegers
impl Sync for NonZeroIntegers
impl Unpin for NonZeroIntegers
impl UnwindSafe for NonZeroIntegers
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