pub struct DrawList {
pub updates: Vec<Update>,
pub vertices: Vec<Vertex>,
pub commands: Vec<Command>,
}
Expand description
A collection of data needed to render the ui.
Fields§
§updates: Vec<Update>
A list of texture updates that need to be uploaded before rendering.
vertices: Vec<Vertex>
The vertex buffer used for this frame.
commands: Vec<Command>
A list of draw commands that use the vertices
buffer.
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