Struct wasm_react::props::DangerousHtml
source · [−]Expand description
To be used with H::dangerously_set_inner_html()
.
Fields
__html: Cow<'a, str>
The HTML content to be rendered.
Trait Implementations
sourceimpl<'a> Clone for DangerousHtml<'a>
impl<'a> Clone for DangerousHtml<'a>
sourcefn clone(&self) -> DangerousHtml<'a>
fn clone(&self) -> DangerousHtml<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'a> Debug for DangerousHtml<'a>
impl<'a> Debug for DangerousHtml<'a>
sourceimpl<'a> Default for DangerousHtml<'a>
impl<'a> Default for DangerousHtml<'a>
sourcefn default() -> DangerousHtml<'a>
fn default() -> DangerousHtml<'a>
Returns the “default value” for a type. Read more
sourceimpl<'a> PartialEq<DangerousHtml<'a>> for DangerousHtml<'a>
impl<'a> PartialEq<DangerousHtml<'a>> for DangerousHtml<'a>
sourcefn eq(&self, other: &DangerousHtml<'a>) -> bool
fn eq(&self, other: &DangerousHtml<'a>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DangerousHtml<'a>) -> bool
fn ne(&self, other: &DangerousHtml<'a>) -> bool
This method tests for !=
.
impl<'a> Eq for DangerousHtml<'a>
impl<'a> StructuralEq for DangerousHtml<'a>
impl<'a> StructuralPartialEq for DangerousHtml<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for DangerousHtml<'a>
impl<'a> Send for DangerousHtml<'a>
impl<'a> Sync for DangerousHtml<'a>
impl<'a> Unpin for DangerousHtml<'a>
impl<'a> UnwindSafe for DangerousHtml<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more