Struct rich_sdl2_rust::display::Dpi
source · pub struct Dpi {
pub ddpi: f32,
pub hdpi: f32,
pub vdpi: f32,
}Expand description
Densities per inch of the display.
Fields§
§ddpi: f32A diagonal density per inch.
hdpi: f32A horizontal density per inch.
vdpi: f32A vertical density per inch.
Trait Implementations§
impl Copy for Dpi
impl StructuralPartialEq for Dpi
Auto Trait Implementations§
impl RefUnwindSafe for Dpi
impl Send for Dpi
impl Sync for Dpi
impl Unpin for Dpi
impl UnwindSafe for Dpi
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