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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more