Trait Field

Source
pub trait Field: Ring + MultiplicativeGroup {
    // Provided methods
    fn two() -> Self { ... }
    fn three() -> Self { ... }
    fn four() -> Self { ... }
    fn five() -> Self { ... }
    fn six() -> Self { ... }
    fn seven() -> Self { ... }
    fn eight() -> Self { ... }
    fn nine() -> Self { ... }
    fn ten() -> Self { ... }
}
Expand description

A (commutative) Ring where $1 \neq 0$ and all non-zero elements are invertible

Provided Methods§

Source

fn two() -> Self

Source

fn three() -> Self

Source

fn four() -> Self

Source

fn five() -> Self

Source

fn six() -> Self

Source

fn seven() -> Self

Source

fn eight() -> Self

Source

fn nine() -> Self

Source

fn ten() -> Self

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 Field for f32

Source§

impl Field for f64

Source§

impl<U> Field for FixedI8<U>
where U: Unsigned + IsLessOrEqual<U6, Output = True> + LtU8,

Source§

impl<U> Field for FixedI16<U>
where U: Unsigned + IsLessOrEqual<U14, Output = True> + LtU16,

Source§

impl<U> Field for FixedI32<U>
where U: Unsigned + IsLessOrEqual<U30, Output = True> + LtU32,

Source§

impl<U> Field for FixedI64<U>
where U: Unsigned + IsLessOrEqual<U62, Output = True> + LtU64,

Implementors§