pub struct PacketAddress {
pub magazine: u8,
pub row: u8,
}Available on crate feature
teletext only.Expand description
The magazine + row number packet address prefix common to every Teletext packet (ETSI EN 300 706 §7.1.2): 2 bytes, both Hamming-8/4 coded.
Fields§
§magazine: u8Magazine number, 1..=8 (a packet address magazine field of 0
denotes magazine 8 — §3, “magazine number 8”).
row: u8Packet number Y, 0..=31 (0 = page header, 1..=25 = display
rows, 26..=31 = non-displayable enhancement packets).
Trait Implementations§
Source§impl Clone for PacketAddress
impl Clone for PacketAddress
Source§fn clone(&self) -> PacketAddress
fn clone(&self) -> PacketAddress
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PacketAddress
Source§impl Debug for PacketAddress
impl Debug for PacketAddress
impl Eq for PacketAddress
Source§impl PartialEq for PacketAddress
impl PartialEq for PacketAddress
impl StructuralPartialEq for PacketAddress
Auto Trait Implementations§
impl Freeze for PacketAddress
impl RefUnwindSafe for PacketAddress
impl Send for PacketAddress
impl Sync for PacketAddress
impl Unpin for PacketAddress
impl UnsafeUnpin for PacketAddress
impl UnwindSafe for PacketAddress
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