pub fn priority_rank(&self) -> i32 {
        match *self {
            Integer(..) | Sym(..) | Approx(..) | Undefined => 0,
            Pow(..) => 2,
            Neg(..) => 3,
            Product(..) | Ratio(..) => 4,
            Sum(..) => 5,
        }
    }
/// Get the priority rank when they are displayed. A lower number implys a higher priority. The
/// value is intended to use in comparation context and may be changed later, so don't rely on
/// a specific number.
///
/// The order of operators are as follows: (From higher to lower)
///
/// - Scalars: `Integer`, `Sym`, `Approx`, `Undefined`.
/// - `Pow`.
/// - `Neg`.
/// - `Product`, `Ratio`.
/// - `Sum`.
///
/// # Examples
/// ```
/// use symrs::sym::{Expr, Symbol};
///
/// let x = Symbol::new("x");
/// assert!(Expr::integer(1).priority_rank() < (1i32 + x).priority_rank());
/// ```
Get the priority rank when they are displayed. A lower number implys a higher priority. The
value is intended to use in comparation context and may be changed later, so don't rely on
a specific number.

The order of operators are as follows: (From higher to lower)


Get the priority rank when they are displayed . A lower number implys a higher priority . The value is intended to use in comparation context and may be changed later so don ' t rely on a specific number . The order of operators are as follows : ( From higher to lower )
pub fn priority_rank(&self) -> i32 {
        match *self {
            Integer(..) | Sym(..) | Approx(..) | Undefined => 0,
            Pow(..) => 2,
            Neg(..) => 3,
            Product(..) | Ratio(..) => 4,
            Sum(..) => 5,
        }
    }
pub fn priority_rank ( & self ) -> i32 { match * self { Integer ( .. ) | Sym ( .. ) | Approx ( .. ) | Undefined => 0 , Pow ( .. ) => 2 , Neg ( .. ) => 3 , Product ( .. ) | Ratio ( .. ) => 4 , Sum ( .. ) => 5 , } }
Get the priority rank when they are displayed.
Get the priority rank when they are displayed .
&self
examples
```
use symrs::sym::{Expr, Symbol}.


` ` ` use symrs :: sym :: { Expr Symbol } .