Struct smbioslib::BiosCharacteristics[][src]

pub struct BiosCharacteristics {
    pub raw: u32,
}

Fields

raw: u32

Raw value

Implementations

impl BiosCharacteristics[src]

pub fn unknown(&self) -> bool[src]

Unknown.

pub fn bios_characteristics_not_supported(&self) -> bool[src]

BIOS Characteristics are not supported.

pub fn isa_supported(&self) -> bool[src]

ISA is supported.

pub fn mca_supported(&self) -> bool[src]

MCA is supported.

pub fn eisa_supported(&self) -> bool[src]

EISA is supported.

pub fn pci_supported(&self) -> bool[src]

PCI is supported.

pub fn pcmcia_supported(&self) -> bool[src]

PC card (PCMCIA) is supported.

pub fn plug_and_play_supported(&self) -> bool[src]

Plug and Play is supported.

pub fn apm_supported(&self) -> bool[src]

APM is supported.

pub fn bios_upgradeable(&self) -> bool[src]

BIOS is upgradeable (Flash).

pub fn bios_shadowing_allowed(&self) -> bool[src]

BIOS shadowing is allowed.

pub fn vlvesa_supported(&self) -> bool[src]

VL-VESA is supported.

pub fn escd_support_available(&self) -> bool[src]

ESCD support is available.

pub fn boot_from_cdsupported(&self) -> bool[src]

Boot from CD is supported.

pub fn selectable_boot_supported(&self) -> bool[src]

Selectable boot is supported.

pub fn bios_rom_socketed(&self) -> bool[src]

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

pub fn boot_from_pcmcia_supported(&self) -> bool[src]

Boot from PC card (PCMCIA) is supported.

pub fn edd_specification_supported(&self) -> bool[src]

EDD specification is supported.

pub fn floppy_nec_japanese_supported(&self) -> bool[src]

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

pub fn floppy_toshiba_japanese_supported(&self) -> bool[src]

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

pub fn floppy_525_360_supported(&self) -> bool[src]

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

pub fn floppy_525_12_supported(&self) -> bool[src]

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

pub fn floppy_35_720_supported(&self) -> bool[src]

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

pub fn floppy_35_288_supported(&self) -> bool[src]

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

pub fn print_screen_service_supported(&self) -> bool[src]

Int 5h, print screen Service is supported.

pub fn keyboard_8042services_supported(&self) -> bool[src]

Int 9h, 8042 keyboard services are supported.

pub fn serial_services_supported(&self) -> bool[src]

Int 14h, serial services are supported.

pub fn printer_services_supported(&self) -> bool[src]

Int 17h, printer services are supported.

pub fn cga_mono_video_services_supported(&self) -> bool[src]

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

pub fn nec_pc_98supported(&self) -> bool[src]

NEC PC-98.

Methods from Deref<Target = u32>

pub const MIN: u321.43.0[src]

pub const MAX: u321.43.0[src]

pub const BITS: u321.53.0[src]

pub fn as_ne_bytes(&self) -> &[u8; 4][src]

🔬 This is a nightly-only experimental API. (num_as_ne_bytes)

Return the memory representation of this integer as a byte array in native byte order.

to_ne_bytes should be preferred over this whenever possible.

Examples

#![feature(num_as_ne_bytes)]
let num = 0x12345678u32;
let bytes = num.as_ne_bytes();
assert_eq!(
    bytes,
    if cfg!(target_endian = "big") {
        &[0x12, 0x34, 0x56, 0x78]
    } else {
        &[0x78, 0x56, 0x34, 0x12]
    }
);

Trait Implementations

impl Debug for BiosCharacteristics[src]

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

Formats the value using the given formatter. Read more

impl Deref for BiosCharacteristics[src]

type Target = u32

The resulting type after dereferencing.

fn deref(&self) -> &Self::Target[src]

Dereferences the value.

impl From<u32> for BiosCharacteristics[src]

fn from(raw: u32) -> Self[src]

Performs the conversion.

impl PartialEq<BiosCharacteristics> for BiosCharacteristics[src]

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

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &BiosCharacteristics) -> bool[src]

This method tests for !=.

impl Serialize for BiosCharacteristics[src]

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

Serialize this value into the given Serde serializer. Read more

impl Eq for BiosCharacteristics[src]

impl StructuralEq for BiosCharacteristics[src]

impl StructuralPartialEq for BiosCharacteristics[src]

Auto Trait Implementations

Blanket Implementations

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

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

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

pub fn borrow(&self) -> &T

Notable traits for &'_ mut R

impl<'_, R> Read for &'_ mut R where
    R: Read + ?Sized
impl<'_, W> Write for &'_ mut W where
    W: Write + ?Sized
[src]

Immutably borrows from an owned value. Read more

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

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

Notable traits for &'_ mut R

impl<'_, R> Read for &'_ mut R where
    R: Read + ?Sized
impl<'_, W> Write for &'_ mut W where
    W: Write + ?Sized
[src]

Mutably borrows from an owned value. Read more

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

pub fn from(t: T) -> T[src]

Performs the conversion.

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

pub fn into(self) -> U[src]

Performs the conversion.

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.

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

Performs the conversion.

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.

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

Performs the conversion.