Struct ldpc_toolbox::decoder::Message
source · pub struct Message<T> {
pub source: usize,
pub value: T,
}
Expand description
LDPC decoder message.
This represents a message used by the flooding belief propagation decoder. It is used for messages received by the nodes.
Fields§
§source: usize
Message source.
Contains the index of the variable node or check node that sent the message.
value: T
Value.
Contains the value of the message.
Trait Implementations§
source§impl<T: PartialEq> PartialEq<Message<T>> for Message<T>
impl<T: PartialEq> PartialEq<Message<T>> for Message<T>
impl<T: Copy> Copy for Message<T>
impl<T: Eq> Eq for Message<T>
impl<T> StructuralEq for Message<T>
impl<T> StructuralPartialEq for Message<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for Message<T>where T: RefUnwindSafe,
impl<T> Send for Message<T>where T: Send,
impl<T> Sync for Message<T>where T: Sync,
impl<T> Unpin for Message<T>where T: Unpin,
impl<T> UnwindSafe for Message<T>where T: UnwindSafe,
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