[−][src]Struct believer::generators::hierarchical_codes::Generator
Methods
impl Generator
[src]
pub fn new() -> Self
[src]
pub fn with_bit_and_check_degree(bit_degree: usize, check_degree: usize) -> Self
[src]
pub fn set_bit_degree(&mut self, bit_degree: usize) -> &mut Self
[src]
pub fn set_check_degree(&mut self, check_degree: usize) -> &mut Self
[src]
pub fn set_n_layers(&mut self, n_layers: u32) -> &mut Self
[src]
pub fn set_initial_block_length(&mut self, length: usize) -> &mut Self
[src]
pub fn set_n_checks_per_block(&mut self, n_checks: usize) -> &mut Self
[src]
pub fn set_n_blocks_per_layer(&mut self, n_blocks: usize) -> &mut Self
[src]
pub fn get_n_bits(&self) -> usize
[src]
pub fn get_n_checks(&self) -> usize
[src]
Trait Implementations
impl CodeGenerator for Generator
[src]
fn generate_with_rng<R: Rng>(&self, rng: &mut R) -> ParityCheckMatrix
[src]
fn generate(&self) -> ParityCheckMatrix
[src]
Auto Trait Implementations
impl Send for Generator
impl Sync for Generator
impl Unpin for Generator
impl UnwindSafe for Generator
impl RefUnwindSafe for Generator
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,