pub struct Search<T: FlowContent> { /* private fields */ }
Expand description
Builder for the <search>
HTML element.
§Examples
use gen_html::{Render, content::search};
let html = search("Some text");
assert_eq!(html.render_to_string(), "<search>Some text</search>");
Implementations§
Trait Implementations§
impl<T: FlowContent> FlowContent for Search<T>
impl<T: FlowContent + NonInteractiveContent> NonInteractiveContent for Search<T>
Auto Trait Implementations§
impl<T> Freeze for Search<T>where
T: Freeze,
impl<T> RefUnwindSafe for Search<T>where
T: RefUnwindSafe,
impl<T> Send for Search<T>where
T: Send,
impl<T> Sync for Search<T>where
T: Sync,
impl<T> Unpin for Search<T>where
T: Unpin,
impl<T> UnwindSafe for Search<T>where
T: UnwindSafe,
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