pub struct RenderCache {
pub layers: Vec<Layer>,
/* private fields */
}
Fields§
§layers: Vec<Layer>
Implementations§
Source§impl RenderCache
impl RenderCache
pub fn new() -> Self
pub fn with_renderer( &mut self, context: &RenderContext, f: impl FnOnce(&mut Renderer<'_>), )
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RenderCache
impl !RefUnwindSafe for RenderCache
impl !Send for RenderCache
impl !Sync for RenderCache
impl Unpin for RenderCache
impl !UnwindSafe for RenderCache
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