pub struct Positive;Expand description
Strictly positive floats (> 0.0).
Trait Implementations§
impl Copy for Positive
impl Eq for Positive
Source§impl FloatBounds for Positive
impl FloatBounds for Positive
Source§const EXCLUSIVE_MIN: bool = true
const EXCLUSIVE_MIN: bool = true
When
true, values equal to MIN are rejected.Source§const EXCLUSIVE_MAX: bool = false
const EXCLUSIVE_MAX: bool = false
When
true, values equal to MAX are rejected.impl StructuralPartialEq for Positive
Auto Trait Implementations§
impl Freeze for Positive
impl RefUnwindSafe for Positive
impl Send for Positive
impl Sync for Positive
impl Unpin for Positive
impl UnsafeUnpin for Positive
impl UnwindSafe for Positive
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.