pub struct CodeWord {
pub ecc_codeword_count: usize,
pub block_count: usize,
pub capacity: usize,
}
Fields§
§ecc_codeword_count: usize
§block_count: usize
§capacity: usize
Implementations§
Source§impl CodeWord
impl CodeWord
pub fn get_data_codeword_length(&self) -> usize
pub fn get_block_count_for_groups(&self) -> (usize, usize)
pub fn get_data_cw_total_for_groups(&self) -> (BlockContent, BlockContent)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CodeWord
impl RefUnwindSafe for CodeWord
impl Send for CodeWord
impl Sync for CodeWord
impl Unpin for CodeWord
impl UnwindSafe for CodeWord
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more