#[repr(u8)]pub enum NumType {
Transcendental = 0,
Liouvillian = 1,
Elementary = 2,
Algebraic = 3,
Constructible = 4,
Rational = 5,
Integer = 6,
}Expand description
Number type classification for algebraic properties
Variants§
Transcendental = 0
Transcendental (e.g., e^π)
Liouvillian = 1
Liouvillian (closed under exp, ln, and algebraic operations)
Elementary = 2
Elementary (between algebraic and Liouvillian)
Algebraic = 3
Algebraic (roots of polynomials with rational coefficients)
Constructible = 4
Constructible (compass and straightedge)
Rational = 5
Rational
Integer = 6
Integer
Implementations§
Trait Implementations§
Source§impl Ord for NumType
impl Ord for NumType
Source§impl PartialOrd for NumType
impl PartialOrd for NumType
impl Copy for NumType
impl Eq for NumType
impl StructuralPartialEq for NumType
Auto Trait Implementations§
impl Freeze for NumType
impl RefUnwindSafe for NumType
impl Send for NumType
impl Sync for NumType
impl Unpin for NumType
impl UnsafeUnpin for NumType
impl UnwindSafe for NumType
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