pub struct ExecutableId(pub u64);Expand description
Compact identifier for executable files.
Compact identifier for executable files derived from the first 8 bytes of the build id. By using this smaller type for object files less memory is used and also comparison, and other operations are cheaper.
Tuple Fields§
§0: u64Trait Implementations§
Source§impl Clone for ExecutableId
impl Clone for ExecutableId
Source§fn clone(&self) -> ExecutableId
fn clone(&self) -> ExecutableId
Returns a duplicate 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 Debug for ExecutableId
impl Debug for ExecutableId
Source§impl Display for ExecutableId
impl Display for ExecutableId
Source§impl From<ExecutableId> for u64
impl From<ExecutableId> for u64
Source§fn from(executable_id: ExecutableId) -> Self
fn from(executable_id: ExecutableId) -> Self
Converts to this type from the input type.
Source§impl FromStr for ExecutableId
impl FromStr for ExecutableId
Source§impl Hash for ExecutableId
impl Hash for ExecutableId
Source§impl PartialEq for ExecutableId
impl PartialEq for ExecutableId
impl Copy for ExecutableId
impl Eq for ExecutableId
impl StructuralPartialEq for ExecutableId
Auto Trait Implementations§
impl Freeze for ExecutableId
impl RefUnwindSafe for ExecutableId
impl Send for ExecutableId
impl Sync for ExecutableId
impl Unpin for ExecutableId
impl UnsafeUnpin for ExecutableId
impl UnwindSafe for ExecutableId
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