[−][src]Struct cpclib_disc::amsdos::AmsdosCatalog
The AmsdosCatalog represents the catalog of a disc. It contains only valid entries and merge common ones
Methods
impl AmsdosCatalog
[src]
pub fn len(&self) -> usize
[src]
Returns the number of entries in the catalog
pub fn is_empty(&self) -> bool
[src]
Check if the catalog is empty
pub fn sorted_alphabetically(&self) -> Self
[src]
Create an alphabetically sorted version of the catalog
pub fn sorted_physically(&self) -> Self
[src]
Create a physically sorted version of the catalog
pub fn sorted_physically_and_alphabetically(&self) -> Self
[src]
Create a physically and alphabetically sorted version of the catalog
Trait Implementations
impl Clone for AmsdosCatalog
[src]
fn clone(&self) -> AmsdosCatalog
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for AmsdosCatalog
[src]
impl<'_> From<&'_ AmsdosEntries> for AmsdosCatalog
[src]
fn from(entries: &AmsdosEntries) -> Self
[src]
impl Index<usize> for AmsdosCatalog
[src]
Auto Trait Implementations
impl RefUnwindSafe for AmsdosCatalog
impl Send for AmsdosCatalog
impl Sync for AmsdosCatalog
impl Unpin for AmsdosCatalog
impl UnwindSafe for AmsdosCatalog
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,