#[repr(C)]pub struct ProvenancePair {
pub track: u16,
pub key: ProvenanceKey,
pub value_len: u8,
pub value: [u8; 64],
}Expand description
One bounded provenance pair: a typed key + inline value bytes.
Fields§
§track: u16Which track (index into SmfFile::tracks) the pair came from.
key: ProvenanceKeyThe provenance kind.
value_len: u8Number of valid bytes in value.
value: [u8; 64]Inline value bytes; only value[..value_len] is meaningful.
Implementations§
Trait Implementations§
Source§impl Clone for ProvenancePair
impl Clone for ProvenancePair
impl Copy for ProvenancePair
Auto Trait Implementations§
impl Freeze for ProvenancePair
impl RefUnwindSafe for ProvenancePair
impl Send for ProvenancePair
impl Sync for ProvenancePair
impl Unpin for ProvenancePair
impl UnsafeUnpin for ProvenancePair
impl UnwindSafe for ProvenancePair
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