pub struct HtmlBuilder { /* private fields */ }
Implementations§
Source§impl HtmlBuilder
impl HtmlBuilder
pub fn get_css_font_import_urls(&self) -> &str
pub fn css_font_import_urls(self, css_font_import_urls: String) -> Self
pub fn css_disable_default_browser_css(&self) -> &str
pub fn build_style(&self) -> String
Source§impl HtmlBuilder
impl HtmlBuilder
pub fn component(self, component: Components) -> Self
pub fn get_component(&self) -> &Components
Source§impl HtmlBuilder
impl HtmlBuilder
Sourcepub fn render_component(component: &Components) -> String
pub fn render_component(component: &Components) -> String
fn for components Convert components to html
Sourcepub fn build_as_html(&self) -> String
pub fn build_as_html(&self) -> String
Generate default html with style
Trait Implementations§
Source§impl Clone for HtmlBuilder
impl Clone for HtmlBuilder
Source§fn clone(&self) -> HtmlBuilder
fn clone(&self) -> HtmlBuilder
Returns a copy of the value. Read more
1.0.0 · 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 HtmlBuilder
impl Debug for HtmlBuilder
Source§impl Default for HtmlBuilder
impl Default for HtmlBuilder
Source§fn default() -> HtmlBuilder
fn default() -> HtmlBuilder
Returns the “default value” for a type. Read more
Source§impl PartialEq for HtmlBuilder
impl PartialEq for HtmlBuilder
impl StructuralPartialEq for HtmlBuilder
Auto Trait Implementations§
impl Freeze for HtmlBuilder
impl RefUnwindSafe for HtmlBuilder
impl Send for HtmlBuilder
impl Sync for HtmlBuilder
impl Unpin for HtmlBuilder
impl UnwindSafe for HtmlBuilder
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