#[non_exhaustive]pub struct IprBox {
pub payload: Vec<u8>,
}Expand description
An intellectual property box (jp2i). The standard leaves the format of
its contents open, so they are not parsed.
The payload is the bytes after the box header, not checked in any way.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.payload: Vec<u8>The box contents, verbatim.
Trait Implementations§
impl Eq for IprBox
impl StructuralPartialEq for IprBox
Auto Trait Implementations§
impl Forget for IprBox
impl Freeze for IprBox
impl Move for IprBox
impl RefUnwindSafe for IprBox
impl Send for IprBox
impl Sync for IprBox
impl Unpin for IprBox
impl UnsafeUnpin for IprBox
impl UnwindSafe for IprBox
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