Struct sciter::windowless::RenderEvent
source · [−]Expand description
Events for rendering UI to a bitmap.
Fields
layer: Option<PaintLayer>
Which layer to render (or the whole document if None
).
callback: Box<dyn Fn(&RECT, &[u8])>
The callback that receives a rendered bitmap.
The first argument contains a rectangle with the coordinates (position and size) of the rendered bitmap.
The second ardument is the rendered bitmap in the BGRA
form. The size of the bitmap equals to width * height * 4
.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for RenderEvent
impl !Send for RenderEvent
impl !Sync for RenderEvent
impl Unpin for RenderEvent
impl !UnwindSafe for RenderEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more