pub struct BoxType(pub [u8; 4]);
Expand description
A JUMBF “box type” is encoded as a 4-byte big-endian unsigned integer. However, boxes are generally referred to by an ISO/IEC 646 character string translation of the integer value.
For that reason, this is represented here as a 4-byte slice.
The box type can typically be matched with a byte string constant (i.e.
b"jumd"
).
Tuple Fields§
§0: [u8; 4]
Trait Implementations§
impl Copy for BoxType
impl Eq for BoxType
impl StructuralPartialEq for BoxType
Auto Trait Implementations§
impl Freeze for BoxType
impl RefUnwindSafe for BoxType
impl Send for BoxType
impl Sync for BoxType
impl Unpin for BoxType
impl UnwindSafe for BoxType
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