../../.cargo/katex-header.html

Trait FieldExt

Source
pub trait FieldExt:
    Copy
    + Debug
    + PartialEq
    + Add<Output = Self>
    + Neg<Output = Self>
    + Sub<Output = Self>
    + Mul<Output = Self>
    + Div<Output = Self> {
    const ZERO: Self;
    const UNIT: Self;

    // Required methods
    fn new(val: usize) -> Self;
    fn inv(self) -> Self;
}

Required Associated Constants§

Source

const ZERO: Self

Source

const UNIT: Self

Required Methods§

Source

fn new(val: usize) -> Self

Source

fn inv(self) -> 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.

Implementors§