#[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>,
}
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.