pub struct RenderCache {
pub memo: RefCell<RenderMemo>,
/* private fields */
}Expand description
render state shared by the nodes and the tokens of a render: the memo, valid for the options it was created for, and the resolved source file names of the source map
Fields§
§memo: RefCell<RenderMemo>Implementations§
Source§impl RenderCache
impl RenderCache
pub fn new(memo: RenderMemo, options: &RenderOptions) -> Self
Auto Trait Implementations§
impl !Freeze for RenderCache
impl !RefUnwindSafe for RenderCache
impl !Send for RenderCache
impl !Sync for RenderCache
impl !UnwindSafe for RenderCache
impl Forget for RenderCache
impl Move for RenderCache
impl Unpin for RenderCache
impl UnsafeUnpin 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