pub enum Ptr {
ExtentEntry(usize),
ExtentData(usize),
Block(usize),
}Expand description
Pointers to the various levels of CP/M disk structures. These just wrap integers and are supposed to help identify what is being indexed.
Variants§
ExtentEntry(usize)
Index to the extent’s metadata, ordering its appearance in the directory
ExtentData(usize)
Index stored with the extent, ordering the logical extents within the file
Block(usize)
Global pointer to one of the data blocks associated with a file extent
Implementations§
Trait Implementations§
Source§impl Ord for Ptr
impl Ord for Ptr
Source§impl PartialOrd for Ptr
impl PartialOrd for Ptr
impl Copy for Ptr
impl Eq for Ptr
impl StructuralPartialEq for Ptr
Auto Trait Implementations§
impl Freeze for Ptr
impl RefUnwindSafe for Ptr
impl Send for Ptr
impl Sync for Ptr
impl Unpin for Ptr
impl UnwindSafe for Ptr
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