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 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