pub struct SMBiosBiosLanguageInformation<'a> { /* private fields */ }
Expand description
§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§
Source§impl<'a> SMBiosBiosLanguageInformation<'a>
impl<'a> SMBiosBiosLanguageInformation<'a>
Sourcepub fn number_of_installable_languages(&self) -> Option<u8>
pub fn number_of_installable_languages(&self) -> Option<u8>
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.
Sourcepub fn flags(&self) -> Option<BiosLanguageFlags>
pub fn flags(&self) -> Option<BiosLanguageFlags>
Bit field indicating the format of the languages.
Sourcepub fn current_language(&self) -> SMBiosString
pub fn current_language(&self) -> SMBiosString
The currently installed language.
Sourcepub fn installable_langauges(&self) -> &SMBiosStringSet ⓘ
pub fn installable_langauges(&self) -> &SMBiosStringSet ⓘ
Iterable collection of the installable languages.
Trait Implementations§
Source§impl Debug for SMBiosBiosLanguageInformation<'_>
impl Debug for SMBiosBiosLanguageInformation<'_>
Source§impl<'a> SMBiosStruct<'a> for SMBiosBiosLanguageInformation<'a>
impl<'a> SMBiosStruct<'a> for SMBiosBiosLanguageInformation<'a>
Source§const STRUCT_TYPE: u8 = 13u8
const STRUCT_TYPE: u8 = 13u8
The SMBIOS structure type Read more
Source§fn new(parts: &'a UndefinedStruct) -> Self
fn new(parts: &'a UndefinedStruct) -> Self
Creates a new instance of the implementing SMBIOS type
Source§fn parts(&self) -> &'a UndefinedStruct
fn parts(&self) -> &'a UndefinedStruct
Contains the standard parts/sections of the implementing SMBIOS type.
Auto Trait Implementations§
impl<'a> Freeze for SMBiosBiosLanguageInformation<'a>
impl<'a> RefUnwindSafe for SMBiosBiosLanguageInformation<'a>
impl<'a> Send for SMBiosBiosLanguageInformation<'a>
impl<'a> Sync for SMBiosBiosLanguageInformation<'a>
impl<'a> Unpin for SMBiosBiosLanguageInformation<'a>
impl<'a> UnwindSafe for SMBiosBiosLanguageInformation<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more