#[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 Freeze for GdkPaintableInterface
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