pub struct DrawBitmapPayload {
pub bitmap: i32,
pub opacity: f64,
pub source_rect: Rect,
pub dest_rect: Rect,
}Fields§
§bitmap: i32§opacity: f64§source_rect: Rect§dest_rect: RectTrait Implementations§
Source§impl BatchValue for DrawBitmapPayload
impl BatchValue for DrawBitmapPayload
Source§impl Clone for DrawBitmapPayload
impl Clone for DrawBitmapPayload
impl Copy for DrawBitmapPayload
Source§impl Debug for DrawBitmapPayload
impl Debug for DrawBitmapPayload
Source§impl Default for DrawBitmapPayload
impl Default for DrawBitmapPayload
Source§impl IRenderDataPayload for DrawBitmapPayload
impl IRenderDataPayload for DrawBitmapPayload
Source§const OPCODE: RenderDataOpcode = RenderDataOpcode::DrawBitmap
const OPCODE: RenderDataOpcode = RenderDataOpcode::DrawBitmap
The opcode written before the payload.
Source§impl PartialEq for DrawBitmapPayload
impl PartialEq for DrawBitmapPayload
impl StructuralPartialEq for DrawBitmapPayload
Auto Trait Implementations§
impl Freeze for DrawBitmapPayload
impl RefUnwindSafe for DrawBitmapPayload
impl Send for DrawBitmapPayload
impl Sync for DrawBitmapPayload
impl Unpin for DrawBitmapPayload
impl UnsafeUnpin for DrawBitmapPayload
impl UnwindSafe for DrawBitmapPayload
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more