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
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)