Struct 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<DrawCmdParams> for DrawCmdParams
impl PartialEq<DrawCmdParams> 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 ==
.