pub struct ComponentRender { /* private fields */ }Expand description
Render result for one component after a scoped event.
Implementations§
Source§impl ComponentRender
impl ComponentRender
pub fn new(id: impl Into<ComponentId>, html: Html) -> Self
pub fn id(&self) -> &ComponentId
pub fn html(&self) -> &Html
pub fn into_parts(self) -> (ComponentId, Html)
Trait Implementations§
Source§impl Clone for ComponentRender
impl Clone for ComponentRender
Source§fn clone(&self) -> ComponentRender
fn clone(&self) -> ComponentRender
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ComponentRender
impl Debug for ComponentRender
Source§impl PartialEq for ComponentRender
impl PartialEq for ComponentRender
Source§fn eq(&self, other: &ComponentRender) -> bool
fn eq(&self, other: &ComponentRender) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ComponentRender
Auto Trait Implementations§
impl Freeze for ComponentRender
impl RefUnwindSafe for ComponentRender
impl Send for ComponentRender
impl Sync for ComponentRender
impl Unpin for ComponentRender
impl UnsafeUnpin for ComponentRender
impl UnwindSafe for ComponentRender
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