Struct clang::documentation::HtmlStartTag
source · [−]pub struct HtmlStartTag {
pub name: String,
pub attributes: Vec<(String, String)>,
pub closing: bool,
}
Expand description
An HTML start tag.
Fields
name: String
The tag name.
attributes: Vec<(String, String)>
The attributes associated with the tag, if any.
closing: bool
Whether the tag is self-closing.
Trait Implementations
sourceimpl Clone for HtmlStartTag
impl Clone for HtmlStartTag
sourcefn clone(&self) -> HtmlStartTag
fn clone(&self) -> HtmlStartTag
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for HtmlStartTag
impl Debug for HtmlStartTag
sourceimpl PartialEq<HtmlStartTag> for HtmlStartTag
impl PartialEq<HtmlStartTag> for HtmlStartTag
sourcefn eq(&self, other: &HtmlStartTag) -> bool
fn eq(&self, other: &HtmlStartTag) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &HtmlStartTag) -> bool
fn ne(&self, other: &HtmlStartTag) -> bool
This method tests for !=
.
impl Eq for HtmlStartTag
impl StructuralEq for HtmlStartTag
impl StructuralPartialEq for HtmlStartTag
Auto Trait Implementations
impl RefUnwindSafe for HtmlStartTag
impl Send for HtmlStartTag
impl Sync for HtmlStartTag
impl Unpin for HtmlStartTag
impl UnwindSafe for HtmlStartTag
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more