pub struct DrawRectanglePayload {
pub server_brush: i32,
pub server_pen: i32,
pub client_pen: i32,
pub rect: RoundedRect,
pub box_shadow_count: i32,
}Expand description
Followed by box_shadow_count box shadows.
Fields§
§server_brush: i32§server_pen: i32§client_pen: i32§rect: RoundedRect§box_shadow_count: i32Trait Implementations§
Source§impl BatchValue for DrawRectanglePayload
impl BatchValue for DrawRectanglePayload
Source§impl Clone for DrawRectanglePayload
impl Clone for DrawRectanglePayload
impl Copy for DrawRectanglePayload
Source§impl Debug for DrawRectanglePayload
impl Debug for DrawRectanglePayload
Source§impl Default for DrawRectanglePayload
impl Default for DrawRectanglePayload
Source§impl IRenderDataPayload for DrawRectanglePayload
impl IRenderDataPayload for DrawRectanglePayload
Source§const OPCODE: RenderDataOpcode = RenderDataOpcode::DrawRectangle
const OPCODE: RenderDataOpcode = RenderDataOpcode::DrawRectangle
The opcode written before the payload.
Source§impl PartialEq for DrawRectanglePayload
impl PartialEq for DrawRectanglePayload
impl StructuralPartialEq for DrawRectanglePayload
Auto Trait Implementations§
impl Freeze for DrawRectanglePayload
impl RefUnwindSafe for DrawRectanglePayload
impl Send for DrawRectanglePayload
impl Sync for DrawRectanglePayload
impl Unpin for DrawRectanglePayload
impl UnsafeUnpin for DrawRectanglePayload
impl UnwindSafe for DrawRectanglePayload
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