Struct reed_solomon_erasure::galois_16::Field
source · [−]pub struct Field;
Expand description
The field GF(2^16).
Trait Implementations
sourceimpl Field for Field
impl Field for Field
sourceconst ORDER: usize = 65_536usize
const ORDER: usize = 65_536usize
The order of the field. This is a limit on the number of shards
in an encoding. Read more
fn nth_internal(n: usize) -> [u8; 2]
sourcefn nth(n: usize) -> Self::Elem
fn nth(n: usize) -> Self::Elem
Yield the nth element of the field. Panics if n >= ORDER.
Assignment is arbitrary but must be unique to
n
. Read moreimpl Copy for Field
impl Eq for Field
impl StructuralEq for Field
impl StructuralPartialEq for Field
Auto Trait Implementations
impl RefUnwindSafe for Field
impl Send for Field
impl Sync for Field
impl Unpin for Field
impl UnwindSafe for Field
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more