#[repr(C)]pub struct ImDrawList {Show 15 fields
pub cmd_buffer: ImVector<ImDrawCmd>,
pub idx_buffer: ImVector<ImDrawIdx>,
pub vtx_buffer: ImVector<ImDrawVert>,
pub flags: ImDrawListFlags,
pub data: *const ImDrawListSharedData,
pub owner_name: *const c_char,
pub vtx_current_idx: c_uint,
pub vtx_write_ptr: *mut ImDrawVert,
pub idx_write_ptr: *mut ImDrawIdx,
pub clip_rect_stack: ImVector<ImVec4>,
pub texture_id_stack: ImVector<ImTextureID>,
pub path: ImVector<ImVec2>,
pub channels_current: c_int,
pub channels_count: c_int,
pub channels: ImVector<ImDrawChannel>,
}
Fields§
§cmd_buffer: ImVector<ImDrawCmd>
§idx_buffer: ImVector<ImDrawIdx>
§vtx_buffer: ImVector<ImDrawVert>
§flags: ImDrawListFlags
§data: *const ImDrawListSharedData
§owner_name: *const c_char
§vtx_current_idx: c_uint
§vtx_write_ptr: *mut ImDrawVert
§idx_write_ptr: *mut ImDrawIdx
§clip_rect_stack: ImVector<ImVec4>
§texture_id_stack: ImVector<ImTextureID>
§path: ImVector<ImVec2>
§channels_current: c_int
§channels_count: c_int
§channels: ImVector<ImDrawChannel>
Auto Trait Implementations§
impl Freeze for ImDrawList
impl RefUnwindSafe for ImDrawList
impl !Send for ImDrawList
impl !Sync for ImDrawList
impl Unpin for ImDrawList
impl UnwindSafe for ImDrawList
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