pub struct RenderQueue { /* private fields */ }Expand description
Render queue for batched rendering
Implementations§
Source§impl RenderQueue
impl RenderQueue
Sourcepub fn push(&mut self, cmd: RenderCommand)
pub fn push(&mut self, cmd: RenderCommand)
Adds a command to the queue
Sourcepub fn commands(&self) -> &[RenderCommand]
pub fn commands(&self) -> &[RenderCommand]
Returns the commands
Trait Implementations§
Source§impl Debug for RenderQueue
impl Debug for RenderQueue
Source§impl Default for RenderQueue
impl Default for RenderQueue
Source§fn default() -> RenderQueue
fn default() -> RenderQueue
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RenderQueue
impl RefUnwindSafe for RenderQueue
impl Send for RenderQueue
impl Sync for RenderQueue
impl Unpin for RenderQueue
impl UnwindSafe for RenderQueue
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