Struct rute::auto::backing_store_ffi::RUBackingStoreFuncs
source · #[repr(C)]pub struct RUBackingStoreFuncs {
pub flush: extern "C" fn(self_c: *const RUBase, region: *const RUBase, window: *const RUBase, offset: *const RUBase),
pub resize: extern "C" fn(self_c: *const RUBase, size: *const RUBase),
pub size: extern "C" fn(self_c: *const RUBase) -> RUSize,
pub scroll: extern "C" fn(self_c: *const RUBase, area: *const RUBase, dx: i32, dy: i32) -> bool,
pub begin_paint: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase),
pub end_paint: extern "C" fn(self_c: *const RUBase),
pub set_static_contents: extern "C" fn(self_c: *const RUBase, region: *const RUBase),
pub static_contents: extern "C" fn(self_c: *const RUBase) -> RURegion,
pub has_static_contents: extern "C" fn(self_c: *const RUBase) -> bool,
}
Fields
flush: extern "C" fn(self_c: *const RUBase, region: *const RUBase, window: *const RUBase, offset: *const RUBase)
resize: extern "C" fn(self_c: *const RUBase, size: *const RUBase)
size: extern "C" fn(self_c: *const RUBase) -> RUSize
scroll: extern "C" fn(self_c: *const RUBase, area: *const RUBase, dx: i32, dy: i32) -> bool
begin_paint: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase)
end_paint: extern "C" fn(self_c: *const RUBase)
set_static_contents: extern "C" fn(self_c: *const RUBase, region: *const RUBase)
static_contents: extern "C" fn(self_c: *const RUBase) -> RURegion
has_static_contents: extern "C" fn(self_c: *const RUBase) -> bool
Trait Implementations
sourceimpl Clone for RUBackingStoreFuncs
impl Clone for RUBackingStoreFuncs
sourcefn clone(&self) -> RUBackingStoreFuncs
fn clone(&self) -> RUBackingStoreFuncs
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 RUBackingStoreFuncs
Auto Trait Implementations
impl RefUnwindSafe for RUBackingStoreFuncs
impl Send for RUBackingStoreFuncs
impl Sync for RUBackingStoreFuncs
impl Unpin for RUBackingStoreFuncs
impl UnwindSafe for RUBackingStoreFuncs
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