pub struct PartitionMeta<'a> {
pub partition_type: u32,
pub uid: &'a [u8; 16],
pub label: &'a str,
}Expand description
Metadata handed to a decoder alongside the partition’s bytes.
Fields§
§partition_type: u32§uid: &'a [u8; 16]§label: &'a strTrait Implementations§
Source§impl<'a> Clone for PartitionMeta<'a>
impl<'a> Clone for PartitionMeta<'a>
Source§fn clone(&self) -> PartitionMeta<'a>
fn clone(&self) -> PartitionMeta<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for PartitionMeta<'a>
Auto Trait Implementations§
impl<'a> Freeze for PartitionMeta<'a>
impl<'a> RefUnwindSafe for PartitionMeta<'a>
impl<'a> Send for PartitionMeta<'a>
impl<'a> Sync for PartitionMeta<'a>
impl<'a> Unpin for PartitionMeta<'a>
impl<'a> UnsafeUnpin for PartitionMeta<'a>
impl<'a> UnwindSafe for PartitionMeta<'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