Struct BiosCharacteristics

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

§BIOS Characteristics

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

Source§

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 for BiosCharacteristics

Source§

fn eq(&self, other: &BiosCharacteristics) -> 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 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 StructuralPartialEq for BiosCharacteristics

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> 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<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
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.