pub trait Field {
type Elem: ?Sized;
const RANK: Option<usize> = None;
// Required methods
fn kind(&self) -> Fields;
fn rank(&self) -> usize;
fn size(&self) -> usize;
}
Expand description
A field is a set of elements with two binary operations, addition and multiplication, that satisfy the following axioms:
- Associativity of addition and multiplication
- Commutativity of addition and multiplication
Provided Associated Constants§
Required Associated Types§
Required Methods§
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.