pub struct DrawLinePayload {
pub server_pen: i32,
pub client_pen: i32,
pub p1: Point,
pub p2: Point,
}Fields§
§server_pen: i32§client_pen: i32§p1: Point§p2: PointTrait Implementations§
Source§impl BatchValue for DrawLinePayload
impl BatchValue for DrawLinePayload
Source§impl Clone for DrawLinePayload
impl Clone for DrawLinePayload
impl Copy for DrawLinePayload
Source§impl Debug for DrawLinePayload
impl Debug for DrawLinePayload
Source§impl Default for DrawLinePayload
impl Default for DrawLinePayload
Source§impl IRenderDataPayload for DrawLinePayload
impl IRenderDataPayload for DrawLinePayload
Source§const OPCODE: RenderDataOpcode = RenderDataOpcode::DrawLine
const OPCODE: RenderDataOpcode = RenderDataOpcode::DrawLine
The opcode written before the payload.
Source§impl PartialEq for DrawLinePayload
impl PartialEq for DrawLinePayload
impl StructuralPartialEq for DrawLinePayload
Auto Trait Implementations§
impl Freeze for DrawLinePayload
impl RefUnwindSafe for DrawLinePayload
impl Send for DrawLinePayload
impl Sync for DrawLinePayload
impl Unpin for DrawLinePayload
impl UnsafeUnpin for DrawLinePayload
impl UnwindSafe for DrawLinePayload
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