Struct arcdps_imgui::DrawCmdParams
source · pub struct DrawCmdParams {
pub clip_rect: [f32; 4],
pub texture_id: TextureId,
pub vtx_offset: usize,
pub idx_offset: usize,
}
Fields§
§clip_rect: [f32; 4]
left, up, right, down
texture_id: TextureId
§vtx_offset: usize
§idx_offset: usize
Trait Implementations§
source§impl Clone for DrawCmdParams
impl Clone for DrawCmdParams
source§fn clone(&self) -> DrawCmdParams
fn clone(&self) -> DrawCmdParams
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DrawCmdParams
impl Debug for DrawCmdParams
source§impl PartialEq for DrawCmdParams
impl PartialEq for DrawCmdParams
source§fn eq(&self, other: &DrawCmdParams) -> bool
fn eq(&self, other: &DrawCmdParams) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DrawCmdParams
impl StructuralPartialEq for DrawCmdParams
Auto Trait Implementations§
impl Freeze for DrawCmdParams
impl RefUnwindSafe for DrawCmdParams
impl Send for DrawCmdParams
impl Sync for DrawCmdParams
impl Unpin for DrawCmdParams
impl UnwindSafe for DrawCmdParams
Blanket Implementations§
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