pub struct BiosCharacteristics {
    pub raw: u32,
}
Expand description

Fields§

§raw: u32

Raw value

Implementations§

source§

impl BiosCharacteristics

source

pub fn unknown(&self) -> bool

Unknown.

source

pub fn bios_characteristics_not_supported(&self) -> bool

BIOS Characteristics are not supported.

source

pub fn isa_supported(&self) -> bool

ISA is supported.

source

pub fn mca_supported(&self) -> bool

MCA is supported.

source

pub fn eisa_supported(&self) -> bool

EISA is supported.

source

pub fn pci_supported(&self) -> bool

PCI is supported.

source

pub fn pcmcia_supported(&self) -> bool

PC card (PCMCIA) is supported.

source

pub fn plug_and_play_supported(&self) -> bool

Plug and Play is supported.

source

pub fn apm_supported(&self) -> bool

APM is supported.

source

pub fn bios_upgradeable(&self) -> bool

BIOS is upgradeable (Flash).

source

pub fn bios_shadowing_allowed(&self) -> bool

BIOS shadowing is allowed.

source

pub fn vlvesa_supported(&self) -> bool

VL-VESA is supported.

source

pub fn escd_support_available(&self) -> bool

ESCD support is available.

source

pub fn boot_from_cdsupported(&self) -> bool

Boot from CD is supported.

source

pub fn selectable_boot_supported(&self) -> bool

Selectable boot is supported.

source

pub fn bios_rom_socketed(&self) -> bool

BIOS ROM is socketed (e.g. PLCC or SOP socket).

source

pub fn boot_from_pcmcia_supported(&self) -> bool

Boot from PC card (PCMCIA) is supported.

source

pub fn edd_specification_supported(&self) -> bool

EDD specification is supported.

source

pub fn floppy_nec_japanese_supported(&self) -> bool

Int 13h — Japanese floppy for NEC 9800 1.2 MB (3.5”, 1K bytes/sector, 360 RPM) is supported.

source

pub fn floppy_toshiba_japanese_supported(&self) -> bool

Int 13h — Japanese floppy for Toshiba 1.2 MB (3.5”, 360 RPM) is supported.

source

pub fn floppy_525_360_supported(&self) -> bool

Int 13h — 5.25” / 360 KB floppy services are supported.

source

pub fn floppy_525_12_supported(&self) -> bool

Int 13h — 5.25” /1.2 MB floppy services are supported.

source

pub fn floppy_35_720_supported(&self) -> bool

Int 13h — 3.5” / 720 KB floppy services are supported.

source

pub fn floppy_35_288_supported(&self) -> bool

Int 13h — 3.5” / 2.88 MB floppy services are supported.

source

pub fn print_screen_service_supported(&self) -> bool

Int 5h, print screen Service is supported.

source

pub fn keyboard_8042services_supported(&self) -> bool

Int 9h, 8042 keyboard services are supported.

source

pub fn serial_services_supported(&self) -> bool

Int 14h, serial services are supported.

source

pub fn printer_services_supported(&self) -> bool

Int 17h, printer services are supported.

source

pub fn cga_mono_video_services_supported(&self) -> bool

Int 10h, CGA/Mono Video Services are supported.

source

pub fn nec_pc_98supported(&self) -> bool

NEC PC-98.

Methods from Deref<Target = u32>§

1.43.0 · source

pub const MIN: u32 = 0u32

1.43.0 · source

pub const MAX: u32 = 4_294_967_295u32

1.53.0 · source

pub const BITS: u32 = 32u32

Trait Implementations§

source§

impl Debug for BiosCharacteristics

source§

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

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

impl Deref for BiosCharacteristics

§

type Target = u32

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl From<u32> for BiosCharacteristics

source§

fn from(raw: u32) -> Self

Converts to this type from the input type.
source§

impl PartialEq<BiosCharacteristics> for BiosCharacteristics

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for BiosCharacteristics

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>where S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for BiosCharacteristics

source§

impl StructuralEq for BiosCharacteristics

source§

impl StructuralPartialEq for BiosCharacteristics

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. 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 Twhere 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, U> TryFrom<U> for Twhere U: Into<T>,

§

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 Twhere U: TryFrom<T>,

§

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.