Skip to main content

TeXInt

Trait TeXInt 

Source
pub trait TeXInt:
    Numeric<Self>
    + From<i32>
    + TryFrom<i64>
    + Into<i64>
    + TryInto<i32>
    + Debug
    + Display
    + FromStr {
    const MIN: Self;
    const MAX: Self;
}
Expand description

A TeX integer. By default i32.

Required Associated Constants§

Source

const MIN: Self

The minimum value of this integer type.

Source

const MAX: Self

The maximum value of this integer type.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl TeXInt for i32

Source§

const MIN: Self = i32::MIN

Source§

const MAX: Self = i32::MAX

Implementors§