pub struct Field;
Expand description

The field GF(2^16).

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

The order of the field. This is a limit on the number of shards in an encoding. Read more

The representational type of the field.

Add two elements together.

Multiply two elements together.

Divide a by b. Panics is b is zero.

Raise a to the n’th power.

The “zero” element or additive identity.

The “one” element or multiplicative identity.

Yield the nth element of the field. Panics if n >= ORDER. Assignment is arbitrary but must be unique to n. Read more

Multiply a slice of elements by another. Writes into the output slice. Read more

Multiply a slice of elements by another, adding each result to the corresponding value in out. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.