Struct spaces::real::PositiveReals
source · [−]pub struct PositiveReals;
Expand description
Type representing the set of strictly positive real numbers, R(>0).
Trait Implementations
sourceimpl Clone for PositiveReals
impl Clone for PositiveReals
sourcefn clone(&self) -> PositiveReals
fn clone(&self) -> PositiveReals
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PositiveReals
impl Debug for PositiveReals
sourceimpl Display for PositiveReals
impl Display for PositiveReals
sourceimpl Hash for PositiveReals
impl Hash for PositiveReals
sourceimpl Intersect<PositiveReals> for PositiveReals
impl Intersect<PositiveReals> for PositiveReals
sourcefn intersect(self, _: &PositiveReals) -> Self
fn intersect(self, _: &PositiveReals) -> Self
Return the smallest space enclosing self
and other
of type Self
.
sourcefn intersect_many(self, other_spaces: &[S]) -> Self where
Self: Sized,
fn intersect_many(self, other_spaces: &[S]) -> Self where
Self: Sized,
Return the smallest space enclosing self
and all other_spaces
of
type Self
. Read more
sourceimpl OrderedSpace for PositiveReals
impl OrderedSpace for PositiveReals
sourcefn min(&self) -> Option<Self::Value>
fn min(&self) -> Option<Self::Value>
Returns the value of the space’s minimum value, if it exists.
sourcefn max(&self) -> Option<Self::Value>
fn max(&self) -> Option<Self::Value>
Returns the value of the dimension’s supremum, if it exists.
sourcefn is_lower_bounded(&self) -> bool
fn is_lower_bounded(&self) -> bool
Returns true iff self
has a well-defined infimum.
sourcefn is_upper_bounded(&self) -> bool
fn is_upper_bounded(&self) -> bool
Returns true iff self
has a well-defined supremum.
sourcefn is_bounded(&self) -> bool
fn is_bounded(&self) -> bool
Returns true iff self
has a well-defined minimum and maximum.
sourceimpl PartialEq<PositiveReals> for PositiveReals
impl PartialEq<PositiveReals> for PositiveReals
sourceimpl Space for PositiveReals
impl Space for PositiveReals
sourceimpl Union<PositiveReals> for PositiveReals
impl Union<PositiveReals> for PositiveReals
sourcefn union(self, _: &PositiveReals) -> Self
fn union(self, _: &PositiveReals) -> Self
Return a space enclosing self
and other
of type Self
.
sourcefn union_many(self, other_spaces: &[S]) -> Self where
Self: Sized,
fn union_many(self, other_spaces: &[S]) -> Self where
Self: Sized,
Return a space enclosing self
and all other_spaces
of
type Self
. Read more
impl Copy for PositiveReals
impl Eq for PositiveReals
impl StructuralEq for PositiveReals
impl StructuralPartialEq for PositiveReals
Auto Trait Implementations
impl RefUnwindSafe for PositiveReals
impl Send for PositiveReals
impl Sync for PositiveReals
impl Unpin for PositiveReals
impl UnwindSafe for PositiveReals
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more