Struct rute::auto::paint_device_ffi::RUPaintDeviceFuncs
source · #[repr(C)]pub struct RUPaintDeviceFuncs {
pub painting_active: extern "C" fn(self_c: *const RUBase) -> bool,
pub paint_engine: extern "C" fn(self_c: *const RUBase) -> RUPaintEngine,
pub width: extern "C" fn(self_c: *const RUBase) -> i32,
pub height: extern "C" fn(self_c: *const RUBase) -> i32,
pub logical_dpi_x: extern "C" fn(self_c: *const RUBase) -> i32,
pub logical_dpi_y: extern "C" fn(self_c: *const RUBase) -> i32,
pub physical_dpi_x: extern "C" fn(self_c: *const RUBase) -> i32,
pub physical_dpi_y: extern "C" fn(self_c: *const RUBase) -> i32,
pub device_pixel_ratio: extern "C" fn(self_c: *const RUBase) -> i32,
pub device_pixel_ratio_f: extern "C" fn(self_c: *const RUBase) -> f32,
pub color_count: extern "C" fn(self_c: *const RUBase) -> i32,
pub depth: extern "C" fn(self_c: *const RUBase) -> i32,
}
Fields
painting_active: extern "C" fn(self_c: *const RUBase) -> bool
paint_engine: extern "C" fn(self_c: *const RUBase) -> RUPaintEngine
width: extern "C" fn(self_c: *const RUBase) -> i32
height: extern "C" fn(self_c: *const RUBase) -> i32
logical_dpi_x: extern "C" fn(self_c: *const RUBase) -> i32
logical_dpi_y: extern "C" fn(self_c: *const RUBase) -> i32
physical_dpi_x: extern "C" fn(self_c: *const RUBase) -> i32
physical_dpi_y: extern "C" fn(self_c: *const RUBase) -> i32
device_pixel_ratio: extern "C" fn(self_c: *const RUBase) -> i32
device_pixel_ratio_f: extern "C" fn(self_c: *const RUBase) -> f32
color_count: extern "C" fn(self_c: *const RUBase) -> i32
depth: extern "C" fn(self_c: *const RUBase) -> i32
Trait Implementations
sourceimpl Clone for RUPaintDeviceFuncs
impl Clone for RUPaintDeviceFuncs
sourcefn clone(&self) -> RUPaintDeviceFuncs
fn clone(&self) -> RUPaintDeviceFuncs
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 Copy for RUPaintDeviceFuncs
Auto Trait Implementations
impl RefUnwindSafe for RUPaintDeviceFuncs
impl Send for RUPaintDeviceFuncs
impl Sync for RUPaintDeviceFuncs
impl Unpin for RUPaintDeviceFuncs
impl UnwindSafe for RUPaintDeviceFuncs
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