pub struct ManchesterEncoder;Expand description
Manchester encoder for MIL-STD-1553B
Implementations§
Source§impl ManchesterEncoder
impl ManchesterEncoder
Sourcepub fn encode_bit(bit: bool) -> u8
pub fn encode_bit(bit: bool) -> u8
Encode a single bit using Thomas Manchester encoding (MIL-STD-1553B standard)
0 = high-to-low transition (1, 0) 1 = low-to-high transition (0, 1)
Auto Trait Implementations§
impl Freeze for ManchesterEncoder
impl RefUnwindSafe for ManchesterEncoder
impl Send for ManchesterEncoder
impl Sync for ManchesterEncoder
impl Unpin for ManchesterEncoder
impl UnwindSafe for ManchesterEncoder
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