Struct html_rs::TextContent
source · pub struct TextContent;
Implementations§
source§impl<'a> TextContent
impl<'a> TextContent
pub fn text<S: AsRef<str>>(text: S) -> HtmlElement<'a>
Trait Implementations§
source§impl Debug for TextContent
impl Debug for TextContent
source§impl PartialEq for TextContent
impl PartialEq for TextContent
impl Eq for TextContent
impl StructuralPartialEq for TextContent
Auto Trait Implementations§
impl Freeze for TextContent
impl RefUnwindSafe for TextContent
impl Send for TextContent
impl Sync for TextContent
impl Unpin for TextContent
impl UnwindSafe for TextContent
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