Struct gdk4_sys::GdkPaintableInterface
source · #[repr(C)]pub struct GdkPaintableInterface {
pub g_iface: GTypeInterface,
pub snapshot: Option<unsafe extern "C" fn(_: *mut GdkPaintable, _: *mut GdkSnapshot, _: c_double, _: c_double)>,
pub get_current_image: Option<unsafe extern "C" fn(_: *mut GdkPaintable) -> *mut GdkPaintable>,
pub get_flags: Option<unsafe extern "C" fn(_: *mut GdkPaintable) -> GdkPaintableFlags>,
pub get_intrinsic_width: Option<unsafe extern "C" fn(_: *mut GdkPaintable) -> c_int>,
pub get_intrinsic_height: Option<unsafe extern "C" fn(_: *mut GdkPaintable) -> c_int>,
pub get_intrinsic_aspect_ratio: Option<unsafe extern "C" fn(_: *mut GdkPaintable) -> c_double>,
}
Fields§
§g_iface: GTypeInterface
§snapshot: Option<unsafe extern "C" fn(_: *mut GdkPaintable, _: *mut GdkSnapshot, _: c_double, _: c_double)>
§get_current_image: Option<unsafe extern "C" fn(_: *mut GdkPaintable) -> *mut GdkPaintable>
§get_flags: Option<unsafe extern "C" fn(_: *mut GdkPaintable) -> GdkPaintableFlags>
§get_intrinsic_width: Option<unsafe extern "C" fn(_: *mut GdkPaintable) -> c_int>
§get_intrinsic_height: Option<unsafe extern "C" fn(_: *mut GdkPaintable) -> c_int>
§get_intrinsic_aspect_ratio: Option<unsafe extern "C" fn(_: *mut GdkPaintable) -> c_double>
Trait Implementations§
source§impl Clone for GdkPaintableInterface
impl Clone for GdkPaintableInterface
source§fn clone(&self) -> GdkPaintableInterface
fn clone(&self) -> GdkPaintableInterface
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more