pub struct RenderNodeQueue { /* private fields */ }Implementations§
Source§impl RenderNodeQueue
impl RenderNodeQueue
pub const fn new() -> Self
pub fn push_opaque(&mut self, component: impl RenderNode + 'static)
pub fn push_transparent(&mut self, component: impl RenderNode + 'static)
pub fn len(&self) -> usize
pub fn opaque_len(&self) -> usize
pub fn transparent_len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn render<'rpass>( &'rpass self, ctx: &RenderContext<'rpass>, pass: &mut RenderPass<'rpass>, )
pub fn clear(&mut self)
Trait Implementations§
Source§impl Default for RenderNodeQueue
impl Default for RenderNodeQueue
Source§fn default() -> RenderNodeQueue
fn default() -> RenderNodeQueue
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RenderNodeQueue
impl !RefUnwindSafe for RenderNodeQueue
impl !Send for RenderNodeQueue
impl !Sync for RenderNodeQueue
impl !Unpin for RenderNodeQueue
impl !UnwindSafe for RenderNodeQueue
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