Struct reed_solomon_erasure::galois_8::Field
source · [−]pub struct Field;
Expand description
The field GF(2^8).
Trait Implementations
sourceimpl Field for Field
impl Field for Field
sourceconst ORDER: usize = 256usize
const ORDER: usize = 256usize
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
sourcefn mul_slice(c: u8, input: &[u8], out: &mut [u8])
fn mul_slice(c: u8, input: &[u8], out: &mut [u8])
Multiply a slice of elements by another. Writes into the output slice. Read more
impl 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