pub struct ImageIcon<'a> {
pub descriptor_number: u8,
pub last_descriptor_number: u8,
pub icon_id: u8,
pub body: ImageIconBody<'a>,
}Expand description
image_icon body (Table 145). One descriptor instance; a full icon
spans descriptor_number 0..=last_descriptor_number, reassembled
by the caller.
Icon transport mode: Table 146
(0 = data bytes, 1 = URL, 2-3 = reserved).
Coordinate system: Table 147
(0 = 720×576, 1 = 1280×720, 2 = 1920×1080,
3-6 = reserved, 7 = user defined).
Fields§
§descriptor_number: u8descriptor_number (4 bits) — [7:4] of byte 0.
last_descriptor_number: u8last_descriptor_number (4 bits) — [3:0] of byte 0.
icon_id: u8icon_id (3 bits) — [2:0] of byte 1.
body: ImageIconBody<'a>First-segment metadata vs. continuation payload (keyed by descriptor_number == 0).
Trait Implementations§
impl<'a> Eq for ImageIcon<'a>
Source§impl<'a> ExtensionBodyDef<'a> for ImageIcon<'a>
impl<'a> ExtensionBodyDef<'a> for ImageIcon<'a>
Source§impl<'a> PartialEq for ImageIcon<'a>
impl<'a> PartialEq for ImageIcon<'a>
Source§impl Serialize for ImageIcon<'_>
impl Serialize for ImageIcon<'_>
Source§type Error = Error
type Error = Error
The error type this implementer returns (usually the same as the
corresponding
Parse impl, but need not be).Source§fn serialized_len(&self) -> usize
fn serialized_len(&self) -> usize
Number of bytes
serialize_into will write.impl<'a> StructuralPartialEq for ImageIcon<'a>
Source§impl<'a> Yokeable<'a> for ImageIcon<'static>
impl<'a> Yokeable<'a> for ImageIcon<'static>
Source§type Output = ImageIcon<'a>
type Output = ImageIcon<'a>
This type MUST be
Self with the 'static replaced with 'a, i.e. Self<'a>Source§fn transform_owned(self) -> Self::Output
fn transform_owned(self) -> Self::Output
Auto Trait Implementations§
impl<'a> Freeze for ImageIcon<'a>
impl<'a> RefUnwindSafe for ImageIcon<'a>
impl<'a> Send for ImageIcon<'a>
impl<'a> Sync for ImageIcon<'a>
impl<'a> Unpin for ImageIcon<'a>
impl<'a> UnsafeUnpin for ImageIcon<'a>
impl<'a> UnwindSafe for ImageIcon<'a>
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