pub struct NonNegativeReals;
Expand description
Type representing the set of non-negative real numbers, R(≥0).
Trait Implementations§
Source§impl Clone for NonNegativeReals
impl Clone for NonNegativeReals
Source§fn clone(&self) -> NonNegativeReals
fn clone(&self) -> NonNegativeReals
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 NonNegativeReals
impl Debug for NonNegativeReals
Source§impl Display for NonNegativeReals
impl Display for NonNegativeReals
Source§impl Hash for NonNegativeReals
impl Hash for NonNegativeReals
Source§impl Intersect for NonNegativeReals
impl Intersect for NonNegativeReals
Source§fn intersect(self, _: &NonNegativeReals) -> Self
fn intersect(self, _: &NonNegativeReals) -> 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 NonNegativeReals
impl OrderedSpace for NonNegativeReals
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 PartialEq for NonNegativeReals
impl PartialEq for NonNegativeReals
Source§impl Space for NonNegativeReals
impl Space for NonNegativeReals
Source§impl Union for NonNegativeReals
impl Union for NonNegativeReals
Source§fn union(self, _: &NonNegativeReals) -> Self
fn union(self, _: &NonNegativeReals) -> 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 NonNegativeReals
impl Eq for NonNegativeReals
impl StructuralPartialEq for NonNegativeReals
Auto Trait Implementations§
impl Freeze for NonNegativeReals
impl RefUnwindSafe for NonNegativeReals
impl Send for NonNegativeReals
impl Sync for NonNegativeReals
impl Unpin for NonNegativeReals
impl UnwindSafe for NonNegativeReals
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