pub enum Format {
Unknown(u64),
DOS32(u64),
DOS33(u64),
ProDOS(u64),
}Expand description
The different types of Apple disks
Variants§
Unknown(u64)
Unknown disk format. We may not have enough information at the current stage to know the format This is a simple data type so it should be fast to update
There’s a design decision here to use an Unknown enum variant as opposed to an Option with None. I don’t know if I made the right choice.
DOS32(u64)
Apple DOS (3.2)
DOS33(u64)
Apple DOS (3.3)
ProDOS(u64)
Apple ProDOS
Trait Implementations§
impl Copy for Format
impl Eq for Format
impl StructuralPartialEq for Format
Auto Trait Implementations§
impl Freeze for Format
impl RefUnwindSafe for Format
impl Send for Format
impl Sync for Format
impl Unpin for Format
impl UnsafeUnpin for Format
impl UnwindSafe for Format
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.