[][src]Struct cpclib_disc::amsdos::AmsdosCatalog

pub struct AmsdosCatalog { /* fields omitted */ }

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]

impl Debug for AmsdosCatalog[src]

impl<'_> From<&'_ AmsdosEntries> for AmsdosCatalog[src]

impl Index<usize> for AmsdosCatalog[src]

type Output = AmsdosCatalogEntry

The returned type after indexing.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.