Crate finite_fields [−] [src]
Modules
binary_fields |
Macros for generating binary finite field types. |
binary_static |
A couple of binary types defined without macros for illustration purposes. |
error |
Custom error for finite field arithmetic arrors. |
fields |
Macros for generating n-ary finite field types. |
Macros
binary_type |
A macro that defines a binary field type. |
binary_type_arithmetic |
Implements arithmetic on a binary type, with overflow and division by zero errors. |
field_common_deps |
Specifies the dependencies and common traits required for finite field types. Not used directly, since type macros use it themselves. |
nary_field_common_deps |
Specifies the dependencies and common traits required for finite field types. Not used directly, since type macros use it themselves. |
nary_type |
A macro that defines an n-ary field type. |
nary_type_arithmetic |
Implements arithmetic on an n-ary type, with overflow and division by zero errors. |
unit_binary |
A macro that defines a unit-width binary type as a newtype struct, with associated arithmetic traits. Used as a building block in other macros. |
unit_binary_arithmetic |
Implements arithmetic on a unit binary newtype with overflow and division by zero errors. |
unit_nary |
A macro that defines a unit-width n-ary type as a newtype struct, with associated arithmetic traits. Used as a building block in other macros. |
unit_nary_arithmetic |
Implements arithmetic on a unit n-ary newtype with overflow and division by zero errors. |