pub struct Reals;
Expand description
Type representing the set of all real numbers.
Implementations§
Trait Implementations§
Source§impl OrderedSpace for Reals
impl OrderedSpace for Reals
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 Reals
impl Eq for Reals
impl StructuralPartialEq for Reals
Auto Trait Implementations§
impl Freeze for Reals
impl RefUnwindSafe for Reals
impl Send for Reals
impl Sync for Reals
impl Unpin for Reals
impl UnwindSafe for Reals
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