#[repr(C)]pub struct ImDrawList {Show 15 fields
pub CmdBuffer: ImVector_ImDrawCmd,
pub IdxBuffer: ImVector_ImDrawIdx,
pub VtxBuffer: ImVector_ImDrawVert,
pub Flags: i32,
pub _VtxCurrentIdx: u32,
pub _Data: *mut ImDrawListSharedData,
pub _OwnerName: *const i8,
pub _VtxWritePtr: *mut ImDrawVert,
pub _IdxWritePtr: *mut u16,
pub _ClipRectStack: ImVector_ImVec4,
pub _TextureIdStack: ImVector_ImTextureID,
pub _Path: ImVector_ImVec2,
pub _CmdHeader: ImDrawCmdHeader,
pub _Splitter: ImDrawListSplitter,
pub _FringeScale: f32,
}
Fields§
§CmdBuffer: ImVector_ImDrawCmd
§IdxBuffer: ImVector_ImDrawIdx
§VtxBuffer: ImVector_ImDrawVert
§Flags: i32
§_VtxCurrentIdx: u32
§_Data: *mut ImDrawListSharedData
§_OwnerName: *const i8
§_VtxWritePtr: *mut ImDrawVert
§_IdxWritePtr: *mut u16
§_ClipRectStack: ImVector_ImVec4
§_TextureIdStack: ImVector_ImTextureID
§_Path: ImVector_ImVec2
§_CmdHeader: ImDrawCmdHeader
§_Splitter: ImDrawListSplitter
§_FringeScale: f32
Trait Implementations§
Source§impl Clone for ImDrawList
impl Clone for ImDrawList
Source§fn clone(&self) -> ImDrawList
fn clone(&self) -> ImDrawList
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ImDrawList
impl Debug for ImDrawList
Source§impl Default for ImDrawList
impl Default for ImDrawList
Source§fn default() -> ImDrawList
fn default() -> ImDrawList
Returns the “default value” for a type. Read more
Source§impl PartialEq for ImDrawList
impl PartialEq for ImDrawList
impl Copy for ImDrawList
impl StructuralPartialEq for ImDrawList
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian()
.