pub struct Hyperlink { /* private fields */ }Expand description
HTML Attribute: <a>
Implementations§
Source§impl Hyperlink
impl Hyperlink
pub fn add_element(&mut self, item: impl IntoHtmlNode + 'static)
Trait Implementations§
Source§impl IntoHtmlNode for Hyperlink
impl IntoHtmlNode for Hyperlink
Source§impl SetHtmlAttributes for Hyperlink
impl SetHtmlAttributes for Hyperlink
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 Hyperlink
impl !RefUnwindSafe for Hyperlink
impl !Send for Hyperlink
impl !Sync for Hyperlink
impl Unpin for Hyperlink
impl !UnwindSafe for Hyperlink
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