pub struct InfoFrameDescriptor {
pub type_code: u8,
pub vendor_oui: Option<u32>,
}Expand description
One entry from an InfoFrame Data Block (extended tag 0x20).
Each descriptor identifies an InfoFrame type that the sink is capable of
receiving. For Vendor-Specific InfoFrames (type_code == 0x01) the IEEE OUI
of the vendor is also present.
Fields§
§type_code: u8InfoFrame type code (bits 4:0 of the SID byte).
See the constants in infoframe_type for the well-known values.
vendor_oui: Option<u32>IEEE OUI for Vendor-Specific InfoFrames (type_code == 0x01).
Stored as (byte0 << 16) | (byte1 << 8) | byte2 following the byte
order used in CTA-861. None for all other types.
Trait Implementations§
Source§impl Clone for InfoFrameDescriptor
impl Clone for InfoFrameDescriptor
Source§fn clone(&self) -> InfoFrameDescriptor
fn clone(&self) -> InfoFrameDescriptor
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 InfoFrameDescriptor
impl Debug for InfoFrameDescriptor
Source§impl PartialEq for InfoFrameDescriptor
impl PartialEq for InfoFrameDescriptor
impl Copy for InfoFrameDescriptor
impl Eq for InfoFrameDescriptor
impl StructuralPartialEq for InfoFrameDescriptor
Auto Trait Implementations§
impl Freeze for InfoFrameDescriptor
impl RefUnwindSafe for InfoFrameDescriptor
impl Send for InfoFrameDescriptor
impl Sync for InfoFrameDescriptor
impl Unpin for InfoFrameDescriptor
impl UnsafeUnpin for InfoFrameDescriptor
impl UnwindSafe for InfoFrameDescriptor
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