pub struct PackObjectLocation { /* private fields */ }Expand description
A stable entry location within a registered pack source.
Implementations§
Source§impl PackObjectLocation
impl PackObjectLocation
pub const fn new(source: PackSourceId, offset: u64) -> Self
pub const fn source(self) -> PackSourceId
pub const fn offset(self) -> u64
Trait Implementations§
Source§impl Clone for PackObjectLocation
impl Clone for PackObjectLocation
impl Copy for PackObjectLocation
Source§impl Debug for PackObjectLocation
impl Debug for PackObjectLocation
impl Eq for PackObjectLocation
Source§impl Hash for PackObjectLocation
impl Hash for PackObjectLocation
Source§impl PartialEq for PackObjectLocation
impl PartialEq for PackObjectLocation
impl StructuralPartialEq for PackObjectLocation
Auto Trait Implementations§
impl Freeze for PackObjectLocation
impl RefUnwindSafe for PackObjectLocation
impl Send for PackObjectLocation
impl Sync for PackObjectLocation
impl Unpin for PackObjectLocation
impl UnsafeUnpin for PackObjectLocation
impl UnwindSafe for PackObjectLocation
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