Struct smbioslib::SMBiosBiosLanguageInformation[][src]

pub struct SMBiosBiosLanguageInformation<'a> { /* fields omitted */ }

BIOS Language Information (Type 13)

The information in this structure defines the installable language attributes of the BIOS.

Compliant with: DMTF SMBIOS Reference Specification 3.4.0 (DSP0134) Document Date: 2020-07-17

Implementations

impl<'a> SMBiosBiosLanguageInformation<'a>[src]

pub fn number_of_installable_languages(&self) -> Option<u8>[src]

Number of languages available Each available language has a description string. This field contains the number of strings that follow the formatted area of the structure.

pub fn flags(&self) -> Option<BiosLanguageFlags>[src]

Bit field indicating the format of the languages.

pub fn current_language(&self) -> Option<String>[src]

The currently installed language.

pub fn installable_langauges(&self) -> &Strings

Notable traits for Strings

impl Iterator for Strings type Item = String;
[src]

Iterable collection of the installable languages.

Trait Implementations

impl Debug for SMBiosBiosLanguageInformation<'_>[src]

impl<'a> SMBiosStruct<'a> for SMBiosBiosLanguageInformation<'a>[src]

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, 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.