Struct smbioslib::SMBiosBuiltInPointingDevice [−][src]
Built-in Pointing Device (Type 21)
This structure describes the attributes of the built-in pointing device for the system. Details are provided in Table 87. The presence of this structure does not imply that the built-in pointing device is active for the system’s use.
Compliant with: DMTF SMBIOS Reference Specification 3.4.0 (DSP0134) Document Date: 2020-07-17
Implementations
impl<'a> SMBiosBuiltInPointingDevice<'a>
[src]
pub fn device_type(&self) -> Option<PointingDeviceTypeData>
[src]
Type of pointing device.
pub fn interface(&self) -> Option<PointingDeviceInterfaceData>
[src]
Interface type for the pointing device.
pub fn number_of_buttons(&self) -> Option<u8>
[src]
Number of buttons on the pointing device. If the device has 3 buttons, the field value is 3.
Trait Implementations
impl Debug for SMBiosBuiltInPointingDevice<'_>
[src]
impl<'a> SMBiosStruct<'a> for SMBiosBuiltInPointingDevice<'a>
[src]
const STRUCT_TYPE: u8
[src]
fn new(parts: &'a UndefinedStruct) -> Self
[src]
fn parts(&self) -> &'a UndefinedStruct
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for SMBiosBuiltInPointingDevice<'a>
impl<'a> Send for SMBiosBuiltInPointingDevice<'a>
impl<'a> Sync for SMBiosBuiltInPointingDevice<'a>
impl<'a> Unpin for SMBiosBuiltInPointingDevice<'a>
impl<'a> UnwindSafe for SMBiosBuiltInPointingDevice<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut Tⓘ
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
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]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,