Struct rute::auto::paint_device::PaintDevice
source · pub struct PaintDevice<'a> { /* private fields */ }
Expand description
Notice these docs are heavy WIP and not very relevent yet
Licence
The documentation is an adoption of the original Qt Documentation and provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.
Implementations
sourceimpl<'a> PaintDevice<'a>
impl<'a> PaintDevice<'a>
pub fn painting_active(&self) -> bool
pub fn paint_engine(&self) -> Option<PaintEngine<'_>>
pub fn width(&self) -> i32
pub fn height(&self) -> i32
pub fn logical_dpi_x(&self) -> i32
pub fn logical_dpi_y(&self) -> i32
pub fn physical_dpi_x(&self) -> i32
pub fn physical_dpi_y(&self) -> i32
pub fn device_pixel_ratio(&self) -> i32
pub fn device_pixel_ratio_f(&self) -> f32
pub fn color_count(&self) -> i32
pub fn depth(&self) -> i32
Trait Implementations
sourceimpl<'a> Clone for PaintDevice<'a>
impl<'a> Clone for PaintDevice<'a>
sourcefn clone(&self) -> PaintDevice<'a>
fn clone(&self) -> PaintDevice<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl<'a> PaintDeviceTrait<'a> for PaintDevice<'a>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for PaintDevice<'a>
impl<'a> !Send for PaintDevice<'a>
impl<'a> !Sync for PaintDevice<'a>
impl<'a> Unpin for PaintDevice<'a>
impl<'a> !UnwindSafe for PaintDevice<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more