pub enum IntegerOrInfinity {
Integer(i64),
PositiveInfinity,
NegativeInfinity,
}
Expand description
Represents the result of ToIntegerOrInfinity operation
Variants§
Trait Implementations§
Source§impl Clone for IntegerOrInfinity
impl Clone for IntegerOrInfinity
Source§fn clone(&self) -> IntegerOrInfinity
fn clone(&self) -> IntegerOrInfinity
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 IntegerOrInfinity
impl Debug for IntegerOrInfinity
Source§impl PartialEq for IntegerOrInfinity
impl PartialEq for IntegerOrInfinity
impl Copy for IntegerOrInfinity
impl Eq for IntegerOrInfinity
impl StructuralPartialEq for IntegerOrInfinity
Auto Trait Implementations§
impl Freeze for IntegerOrInfinity
impl RefUnwindSafe for IntegerOrInfinity
impl Send for IntegerOrInfinity
impl Sync for IntegerOrInfinity
impl Unpin for IntegerOrInfinity
impl UnwindSafe for IntegerOrInfinity
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.