pub enum InfinityKind {
Positive,
Negative,
}Expand description
This type is used to describe if an Infinity is positive or negative. You will rarely use it yourself. You should look at Big::is_pos_inf() and Big::is_neg_inf() instead There are also crate::POS_INFINITY and crate::NEG_INFINITY for ease of use.
Variants§
Positive
Positive Infinity, also referred to as +inf
Negative
Negative Infinity, also referred to as -inf
Trait Implementations§
Source§impl Clone for InfinityKind
impl Clone for InfinityKind
Source§impl Debug for InfinityKind
impl Debug for InfinityKind
Source§impl PartialEq for InfinityKind
impl PartialEq for InfinityKind
impl StructuralPartialEq for InfinityKind
Auto Trait Implementations§
impl Freeze for InfinityKind
impl RefUnwindSafe for InfinityKind
impl Send for InfinityKind
impl Sync for InfinityKind
impl Unpin for InfinityKind
impl UnsafeUnpin for InfinityKind
impl UnwindSafe for InfinityKind
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