Skip to main content

DiskLayout

Enum DiskLayout 

Source
pub enum DiskLayout {
Show 84 variants Abb320kb, Abb328kb, Abb640kb, AcornAdfs160k, AcornAdfm320k, AcornAdfl640k, Aed6200p, Akais950Hd1600kb, Akais950Dd800kb, Akais3000Hd, AlesisDatadiskDd800kb, AmstradcpcDd, AutomatixRailDd400kb, AtaristDd720kb, BungMgd2, Casiofz1Hd1m25, RoboxRc9400, Comx35Ss70kb, Comx35Ds140kb, Comx35Ss140kb, DecRx55, DidaktikSpectrumDd720kb, DosDd720kb, DosHd1m44, DosEd2m88, DosExdd2m5, DosExhd4m5, DosExhd6m78, DynacordAddOne, DynacordHd, EnsoniqDd800kb, EnsoniqHd1600kb, EnsoniqMirage440kb, ExcellonCnc6, EmaxDd800kb, EmaxIiDd800kb, FlexSsdd80t358kb, FlexDsdd80t716kb, FlexDsdd80t716kbPadded, FlexDsdd40t356kb, FlexDsdd40t356kbPadded, GeneralmusicGemS31600kb, GeneralmusicGemWxExpander, GravographIsis640kb, Korgdss1Dd800kb, Korgt3Hd1m6, Lif350264kb, Lif350616kb, Lif35o1232kb, Lif525264kb, Linnforat9k720kb, Memotech80t, Memotech40t, Microtan65Tandos, Balzers250kb, OpusDiscovery, Os9640kb, Os91280kb, OricJasmin357kb, PumaRobotDd640kb, QdTriumphAdler, RolandDdW30, RolandDdS330W50S50S550, RolandDdMc50Mc300Mc500, SordM68Hd998kb, TatungEinsteinDd200kb, TatungEinsteinDd400kb, TimexFdd300080t2s, TimexFdd300040t1s, Trs80Jv1, UkncMfm800kb, UnitelVideotexFloppyDisk, X680002hd1232kb, AnalogdevicesLts2020, VideobitSistemaS80, OtronaAttache, SeattleComputerGazelleSssd, SeattleComputerGazelleDssd, SeattleComputerGazelleSsdd, SeattleComputerGazelleDsdd, KayproDsdd, KayproSsdd, ResearchMachinesSssd, ResearchMachinesDsdd,
}
Expand description

Predefined disk layout.

Represents the different predefined disk layouts supported by the HxC library. This enum is automatically generated from LayoutsIndex.h.

Variants§

§

Abb320kb

ABB_320KB

§

Abb328kb

ABB_328KB

§

Abb640kb

ABB_640KB

§

AcornAdfs160k

ACORN_ADFS_160K

§

AcornAdfm320k

ACORN_ADFM_320K

§

AcornAdfl640k

ACORN_ADFL_640K

§

Aed6200p

AED_6200P

§

Akais950Hd1600kb

AKAIS950_HD_1600KB

§

Akais950Dd800kb

AKAIS950_DD_800KB

§

Akais3000Hd

AKAIS3000_HD

§

AlesisDatadiskDd800kb

ALESIS_DATADISK_DD_800KB

§

AmstradcpcDd

AMSTRADCPC_DD

§

AutomatixRailDd400kb

AUTOMATIX_RAIL_DD_400KB

§

AtaristDd720kb

ATARIST_DD_720KB

§

BungMgd2

BUNG_MGD2

§

Casiofz1Hd1m25

CASIOFZ1_HD_1M25

§

RoboxRc9400

ROBOX_RC9400

§

Comx35Ss70kb

COMX35_SS_70KB

§

Comx35Ds140kb

COMX35_DS_140KB

§

Comx35Ss140kb

COMX35_SS_140KB

§

DecRx55

DEC_RX55

§

DidaktikSpectrumDd720kb

Didaktik_Spectrum_DD_720KB

§

DosDd720kb

DOS_DD_720KB

§

DosHd1m44

DOS_HD_1M44

§

DosEd2m88

DOS_ED_2M88

§

DosExdd2m5

DOS_EXDD_2M5

§

DosExhd4m5

DOS_EXHD_4M5

§

DosExhd6m78

DOS_EXHD_6M78

§

DynacordAddOne

DYNACORD_ADD_ONE

§

DynacordHd

DYNACORD_HD

§

EnsoniqDd800kb

ENSONIQ_DD_800KB

§

EnsoniqHd1600kb

ENSONIQ_HD_1600KB

§

EnsoniqMirage440kb

ENSONIQ_MIRAGE_440KB

§

ExcellonCnc6

EXCELLON_CNC6

§

EmaxDd800kb

EMAX_DD_800KB

§

EmaxIiDd800kb

EMAX_II_DD_800KB

§

FlexSsdd80t358kb

FLEX_SSDD_80T_358KB

§

FlexDsdd80t716kb

FLEX_DSDD_80T_716KB

§

FlexDsdd80t716kbPadded

FLEX_DSDD_80T_716KB_PADDED

§

FlexDsdd40t356kb

FLEX_DSDD_40T_356KB

§

FlexDsdd40t356kbPadded

FLEX_DSDD_40T_356KB_PADDED

§

GeneralmusicGemS31600kb

GENERALMUSIC_GEM_S3_1600KB

§

GeneralmusicGemWxExpander

GENERALMUSIC_GEM_WX_EXPANDER

§

GravographIsis640kb

GRAVOGRAPH_ISIS_640KB

§

Korgdss1Dd800kb

KORGDSS1_DD_800KB

§

Korgt3Hd1m6

KORGT3_HD_1M6

§

Lif350264kb

LIF_3_50_264KB

§

Lif350616kb

LIF_3_50_616KB

§

Lif35o1232kb

LIF_3_5O_1232KB

§

Lif525264kb

LIF_5_25_264KB

§

Linnforat9k720kb

LINNFORAT9K_720KB

§

Memotech80t

MEMOTECH_80T

§

Memotech40t

MEMOTECH_40T

§

Microtan65Tandos

MICROTAN_65_TANDOS

§

Balzers250kb

BALZERS_250KB

§

OpusDiscovery

OPUS_DISCOVERY

§

Os9640kb

OS9_640KB

§

Os91280kb

OS9_1280KB

§

OricJasmin357kb

ORIC_JASMIN_357KB

§

PumaRobotDd640kb

PUMA_ROBOT_DD_640KB

§

QdTriumphAdler

QD_TRIUMPH_ADLER

§

RolandDdW30

ROLAND_DD_W30

§

RolandDdS330W50S50S550

ROLAND_DD_S330_W50_S50_S550

§

RolandDdMc50Mc300Mc500

ROLAND_DD_MC50_MC300_MC500

§

SordM68Hd998kb

SORD_M68_HD_998KB

§

TatungEinsteinDd200kb

TATUNG_EINSTEIN_DD_200KB

§

TatungEinsteinDd400kb

TATUNG_EINSTEIN_DD_400KB

§

TimexFdd300080t2s

TIMEX_FDD3000_80T2S

§

TimexFdd300040t1s

TIMEX_FDD3000_40T1S

§

Trs80Jv1

TRS80_JV1

§

UkncMfm800kb

UKNC_MFM_800KB

§

UnitelVideotexFloppyDisk

UNITEL_VIDEOTEX_FLOPPY_DISK

§

X680002hd1232kb

X68000_2HD_1232KB

§

AnalogdevicesLts2020

ANALOGDEVICES_LTS2020

§

VideobitSistemaS80

VIDEOBIT_SISTEMA_S80

§

OtronaAttache

OTRONA_ATTACHE

§

SeattleComputerGazelleSssd

SEATTLE_COMPUTER_GAZELLE_SSSD

§

SeattleComputerGazelleDssd

SEATTLE_COMPUTER_GAZELLE_DSSD

§

SeattleComputerGazelleSsdd

SEATTLE_COMPUTER_GAZELLE_SSDD

§

SeattleComputerGazelleDsdd

SEATTLE_COMPUTER_GAZELLE_DSDD

§

KayproDsdd

KAYPRO_DSDD

§

KayproSsdd

KAYPRO_SSDD

§

ResearchMachinesSssd

RESEARCH_MACHINES_SSSD

§

ResearchMachinesDsdd

RESEARCH_MACHINES_DSDD

Implementations§

Source§

impl DiskLayout

Source

pub fn layout_name(&self) -> &'static str

Get the disk layout name string

Source

pub fn from_str(s: &str) -> Option<DiskLayout>

Parse from a layout name string

Source

pub fn from_usize(value: usize) -> Option<DiskLayout>

Convert from a usize value

Source

pub fn id(&self, hxcfe_xmlldr: *mut _HXCFE_XMLLDR) -> i32

Get the disk layout ID from the C library.

The ID is retrieved at runtime by querying the C library with the layout name. Panics if the layout is not found (which indicates a bug in the bindings).

§Arguments
  • hxcfe_xmlldr - The HxC XML loader context
§Returns

The layout ID

Source

pub fn all() -> &'static [DiskLayout]

Get all available disk layouts

Trait Implementations§

Source§

impl Clone for DiskLayout

Source§

fn clone(&self) -> DiskLayout

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for DiskLayout

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Display for DiskLayout

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Hash for DiskLayout

Source§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for DiskLayout

Source§

fn eq(&self, other: &DiskLayout) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for DiskLayout

Source§

impl Eq for DiskLayout

Source§

impl StructuralPartialEq for DiskLayout

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.