#[repr(C)]pub struct ImDrawCmd {
pub ClipRect: ImVec4,
pub TextureId: ImTextureID,
pub VtxOffset: c_uint,
pub IdxOffset: c_uint,
pub ElemCount: c_uint,
pub UserCallback: ImDrawCallback,
pub UserCallbackData: *mut c_void,
}Fields§
§ClipRect: ImVec4§TextureId: ImTextureID§VtxOffset: c_uint§IdxOffset: c_uint§ElemCount: c_uint§UserCallback: ImDrawCallback§UserCallbackData: *mut c_voidTrait Implementations§
impl Copy for ImDrawCmd
impl StructuralPartialEq for ImDrawCmd
Auto Trait Implementations§
impl !Send for ImDrawCmd
impl !Sync for ImDrawCmd
impl Freeze for ImDrawCmd
impl RefUnwindSafe for ImDrawCmd
impl Unpin for ImDrawCmd
impl UnsafeUnpin for ImDrawCmd
impl UnwindSafe for ImDrawCmd
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