Struct rich_sdl2_rust::ttf::font::Dpi
source · pub struct Dpi {
pub horizontal: u32,
pub vertical: u32,
}
Expand description
A pixel density per inch.
Fields§
§horizontal: u32
A horizontal DPI.
vertical: u32
A vertical DPI.
Trait Implementations§
impl Copy for Dpi
impl Eq 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