pub struct NoteGnuBuildId<'data>(pub &'data [u8]);
Expand description
Contains a build ID note which is unique among the set of meaningful contents for ELF files and identical when the output file would otherwise have been identical. This is a zero-copy type which merely contains a slice of the note data from which it was parsed.
(see: https://raw.githubusercontent.com/wiki/hjl-tools/linux-abi/linux-abi-draft.pdf)
Tuple Fields§
§0: &'data [u8]
Trait Implementations§
Source§impl<'data> Clone for NoteGnuBuildId<'data>
impl<'data> Clone for NoteGnuBuildId<'data>
Source§fn clone(&self) -> NoteGnuBuildId<'data>
fn clone(&self) -> NoteGnuBuildId<'data>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'data> Debug for NoteGnuBuildId<'data>
impl<'data> Debug for NoteGnuBuildId<'data>
Source§impl<'data> PartialEq for NoteGnuBuildId<'data>
impl<'data> PartialEq for NoteGnuBuildId<'data>
impl<'data> Copy for NoteGnuBuildId<'data>
impl<'data> Eq for NoteGnuBuildId<'data>
impl<'data> StructuralPartialEq for NoteGnuBuildId<'data>
Auto Trait Implementations§
impl<'data> Freeze for NoteGnuBuildId<'data>
impl<'data> RefUnwindSafe for NoteGnuBuildId<'data>
impl<'data> Send for NoteGnuBuildId<'data>
impl<'data> Sync for NoteGnuBuildId<'data>
impl<'data> Unpin for NoteGnuBuildId<'data>
impl<'data> UnwindSafe for NoteGnuBuildId<'data>
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