#[repr(C)]pub struct store_path_hash_part {
pub bytes: [u8; 20],
}Expand description
@brief A store path hash
Once decoded from “nix32” encoding, a store path hash is 20 raw bytes.
Fields§
§bytes: [u8; 20]Trait Implementations§
Source§impl Clone for store_path_hash_part
impl Clone for store_path_hash_part
impl Copy for store_path_hash_part
Source§impl Debug for store_path_hash_part
impl Debug for store_path_hash_part
Source§impl FromBytes for store_path_hash_part
impl FromBytes for store_path_hash_part
Source§impl FromZeros for store_path_hash_part
impl FromZeros for store_path_hash_part
impl Immutable for store_path_hash_part
Source§impl IntoBytes for store_path_hash_part
impl IntoBytes for store_path_hash_part
§fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
Gets the bytes of this value mutably. Read more
§fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
Source§impl TryFromBytes for store_path_hash_part
impl TryFromBytes for store_path_hash_part
Auto Trait Implementations§
impl Freeze for store_path_hash_part
impl RefUnwindSafe for store_path_hash_part
impl Send for store_path_hash_part
impl Sync for store_path_hash_part
impl Unpin for store_path_hash_part
impl UnsafeUnpin for store_path_hash_part
impl UnwindSafe for store_path_hash_part
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