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 moresource§impl Debug for GdkPaintableInterface
impl Debug for GdkPaintableInterface
impl Copy for GdkPaintableInterface
Auto Trait Implementations§
impl RefUnwindSafe for GdkPaintableInterface
impl Send for GdkPaintableInterface
impl Sync for GdkPaintableInterface
impl Unpin for GdkPaintableInterface
impl UnwindSafe for GdkPaintableInterface
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