Struct imgui::DrawList[][src]

#[repr(transparent)]pub struct DrawList(_);

Draw command list

Implementations

impl DrawList[src]

pub fn idx_buffer(&self) -> &[DrawIdx][src]

pub fn vtx_buffer(&self) -> &[DrawVert][src]

pub unsafe fn transmute_vtx_buffer<VTy: Copy>(&self) -> &[VTy][src]

Safety

This is equivalent to transmute(self.vtx_buffer()) with a little more checking, and thus inherits the safety considerations of transmuteing slices.

pub fn commands(&self) -> DrawCmdIterator<'_>

Notable traits for DrawCmdIterator<'a>

impl<'a> Iterator for DrawCmdIterator<'a> type Item = DrawCmd;
[src]

Trait Implementations

impl RawWrapper for DrawList[src]

type Raw = ImDrawList

Wrapped raw type

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.