#[non_exhaustive]pub struct UuidBox {
pub id: [u8; 16],
pub payload: Vec<u8>,
}Expand description
A uuid box: a 16-byte identifier and the data it labels.
GeoJP2 georeferencing and XMP are carried this way. A uuid box shorter
than its 16-byte identifier is skipped.
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.id: [u8; 16]The identifier, as stored.
payload: Vec<u8>The box contents after the identifier, verbatim.
Trait Implementations§
impl Eq for UuidBox
impl StructuralPartialEq for UuidBox
Auto Trait Implementations§
impl Forget for UuidBox
impl Freeze for UuidBox
impl Move for UuidBox
impl RefUnwindSafe for UuidBox
impl Send for UuidBox
impl Sync for UuidBox
impl Unpin for UuidBox
impl UnsafeUnpin for UuidBox
impl UnwindSafe for UuidBox
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