pub struct Renderer { /* private fields */ }Expand description
Manages the rendering of virtual DOM nodes to the real DOM.
Maintains a mapping between virtual nodes and real DOM elements, and handles creation, diffing, and patching of the DOM tree.
Implementations§
Trait Implementations§
Source§impl From<usize> for &'static Renderer
Implementation of From trait for converting usize address into &'static Renderer.
impl From<usize> for &'static Renderer
Implementation of From trait for converting usize address into &'static Renderer.
Source§fn from(address: usize) -> Self
fn from(address: usize) -> Self
Converts a memory address into a reference to Renderer.
§Arguments
usize- The memory address of theRendererinstance.
§Returns
&'static Renderer- A reference to theRendererat the given address.
§Safety
- The address is guaranteed to be a valid
Rendererinstance that was previously converted from a reference and is managed by the runtime.
Source§impl From<usize> for &'static mut Renderer
Implementation of From trait for converting usize address into &'static mut Renderer.
impl From<usize> for &'static mut Renderer
Implementation of From trait for converting usize address into &'static mut Renderer.
Source§fn from(address: usize) -> Self
fn from(address: usize) -> Self
Converts a memory address into a mutable reference to Renderer.
§Arguments
usize- The memory address of theRendererinstance.
§Returns
&'static mut Renderer- A mutable reference to theRendererat the given address.
§Safety
- The address is guaranteed to be a valid
Rendererinstance that was previously converted from a reference and is managed by the runtime.
Auto Trait Implementations§
impl Freeze for Renderer
impl !RefUnwindSafe for Renderer
impl !Send for Renderer
impl !Sync for Renderer
impl Unpin for Renderer
impl UnsafeUnpin for Renderer
impl !UnwindSafe for Renderer
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