Struct arcdps_imgui::DrawList
source · pub struct DrawList(/* private fields */);
Expand description
Draw command list
Implementations§
source§impl DrawList
impl DrawList
pub fn idx_buffer(&self) -> &[DrawIdx]
pub fn vtx_buffer(&self) -> &[DrawVert]
sourcepub unsafe fn transmute_vtx_buffer<VTy: Copy>(&self) -> &[VTy]
pub unsafe fn transmute_vtx_buffer<VTy: Copy>(&self) -> &[VTy]
§Safety
This is equivalent to transmute(self.vtx_buffer())
with a little more
checking, and thus inherits the safety considerations of transmute
ing
slices.
pub fn commands(&self) -> DrawCmdIterator<'_> ⓘ
Trait Implementations§
source§impl RawWrapper for DrawList
impl RawWrapper for DrawList
Auto Trait Implementations§
impl Freeze for DrawList
impl RefUnwindSafe for DrawList
impl !Send for DrawList
impl !Sync for DrawList
impl Unpin for DrawList
impl UnwindSafe for DrawList
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