Struct lpn::codes::ConcatenatedCode[][src]

pub struct ConcatenatedCode<'a> { /* fields omitted */ }

‘Concatenated’ Linear Codes

This struct allows to construct a Linear code from the direct sum of smaller codes.

It will construct the generator matrix lazily and use the encode and decode mechanism of the ‘child’ codes.

Implementations

impl<'codes> ConcatenatedCode<'codes>[src]

pub fn new(codes: Vec<&'codes dyn BinaryCode>) -> ConcatenatedCode<'codes>[src]

Trait Implementations

impl<'codes> BinaryCode for ConcatenatedCode<'codes>[src]

impl<'codes> Clone for ConcatenatedCode<'codes>[src]

impl<'a> Serialize for ConcatenatedCode<'a>[src]

impl<'a> Sync for ConcatenatedCode<'a>[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for ConcatenatedCode<'a>

impl<'a> !Send for ConcatenatedCode<'a>

impl<'a> Unpin for ConcatenatedCode<'a>

impl<'a> !UnwindSafe for ConcatenatedCode<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> Cast<U> for T where
    U: FromCast<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> FromBits<T> for T[src]

impl<T> FromCast<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> IntoBits<U> for T where
    U: FromBits<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,