pub struct SetDpiParameters {
pub dpi_x: u16,
pub dpi_y: u16,
pub lod: Lod,
}Expand description
DPI parameters to apply with
ExtendedDpiFeature::set_sensor_dpi_parameters.
Fields§
§dpi_x: u16New X-axis DPI (1..=57343).
dpi_y: u16New Y-axis DPI (1..=57343), or 0 when the sensor has no independent Y
axis.
lod: LodNew lift-off distance.
Trait Implementations§
Source§impl Clone for SetDpiParameters
impl Clone for SetDpiParameters
Source§fn clone(&self) -> SetDpiParameters
fn clone(&self) -> SetDpiParameters
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SetDpiParameters
Source§impl Debug for SetDpiParameters
impl Debug for SetDpiParameters
impl Eq for SetDpiParameters
Source§impl Hash for SetDpiParameters
impl Hash for SetDpiParameters
Source§impl PartialEq for SetDpiParameters
impl PartialEq for SetDpiParameters
impl StructuralPartialEq for SetDpiParameters
Auto Trait Implementations§
impl Freeze for SetDpiParameters
impl RefUnwindSafe for SetDpiParameters
impl Send for SetDpiParameters
impl Sync for SetDpiParameters
impl Unpin for SetDpiParameters
impl UnsafeUnpin for SetDpiParameters
impl UnwindSafe for SetDpiParameters
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