pub struct Div { /* private fields */ }
Implementations§
Source§impl Div
impl Div
pub fn new() -> Self
pub fn add_element(&mut self, item: impl IntoHtmlNode + 'static)
Trait Implementations§
Source§impl IntoHtmlNode for Div
impl IntoHtmlNode for Div
Source§impl SetHtmlAttributes for Div
impl SetHtmlAttributes for Div
fn get_attributes(&self) -> &HtmlAttributes
fn get_attributes_mut(&mut self) -> &mut HtmlAttributes
fn set_class<S: Into<String>>(&mut self, class: S)
fn clear_class(&mut self)
fn set_id<S: Into<String>>(&mut self, id: S)
fn clear_id(&mut self)
Auto Trait Implementations§
impl Freeze for Div
impl !RefUnwindSafe for Div
impl !Send for Div
impl !Sync for Div
impl Unpin for Div
impl !UnwindSafe for Div
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