#[repr(C)]pub struct pt_packet_tnt {
pub bit_size: u8,
pub payload: u64,
}Expand description
A TNT-8 or TNT-64 packet.
Fields§
§bit_size: u8TNT payload bit size.
payload: u64TNT payload excluding stop bit.
Trait Implementations§
Source§impl Clone for pt_packet_tnt
impl Clone for pt_packet_tnt
Source§fn clone(&self) -> pt_packet_tnt
fn clone(&self) -> pt_packet_tnt
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for pt_packet_tnt
impl Debug for pt_packet_tnt
Source§impl Hash for pt_packet_tnt
impl Hash for pt_packet_tnt
Source§impl PartialEq for pt_packet_tnt
impl PartialEq for pt_packet_tnt
impl Copy for pt_packet_tnt
impl Eq for pt_packet_tnt
impl StructuralPartialEq for pt_packet_tnt
Auto Trait Implementations§
impl Freeze for pt_packet_tnt
impl RefUnwindSafe for pt_packet_tnt
impl Send for pt_packet_tnt
impl Sync for pt_packet_tnt
impl Unpin for pt_packet_tnt
impl UnwindSafe for pt_packet_tnt
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