Struct ImDrawCmd
#[repr(C)]pub struct ImDrawCmd {
pub ClipRect: ImVec4,
pub TextureId: *mut c_void,
pub VtxOffset: u32,
pub IdxOffset: u32,
pub ElemCount: u32,
pub UserCallback: Option<unsafe extern "C" fn(_: *const ImDrawList, _: *const ImDrawCmd)>,
pub UserCallbackData: *mut c_void,
}Fields§
§ClipRect: ImVec4§TextureId: *mut c_void§VtxOffset: u32§IdxOffset: u32§ElemCount: u32§UserCallback: Option<unsafe extern "C" fn(_: *const ImDrawList, _: *const ImDrawCmd)>§UserCallbackData: *mut c_voidTrait Implementations§
Auto Trait Implementations§
impl Freeze for ImDrawCmd
impl RefUnwindSafe for ImDrawCmd
impl !Send for ImDrawCmd
impl !Sync for ImDrawCmd
impl Unpin 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
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)