Struct DeviceResolutionCtl

Source
pub struct DeviceResolutionCtl { /* private fields */ }

Implementations§

Source§

impl DeviceResolutionCtl

Source

pub fn control_id(&self) -> DeviceControl

Source

pub fn len(&self) -> u16

Source

pub fn first_valuator(&self) -> u8

Source

pub fn resolution_values(&self) -> &[u32]

Trait Implementations§

Source§

impl Borrow<DeviceResolutionCtl> for DeviceResolutionCtlBuf

Source§

fn borrow(&self) -> &DeviceResolutionCtl

Immutably borrows from an owned value. Read more
Source§

impl Debug for DeviceResolutionCtl

Source§

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

Formats the value using the given formatter. Read more
Source§

impl ToOwned for DeviceResolutionCtl

Source§

type Owned = DeviceResolutionCtlBuf

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · Source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more

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