pub enum HtmlSectionRole {
Main,
Navigation,
Aside,
Footer,
Comments,
Related,
Unknown,
}Expand description
Semantic HTML region role.
Variants§
Main
Primary content region.
Navigation region.
Aside
Sidebar or complementary content.
Footer or content information.
Comments
Comments or discussion region.
Related
Related links or related content.
Unknown
Unknown secondary region.
Trait Implementations§
Source§impl Clone for HtmlSectionRole
impl Clone for HtmlSectionRole
Source§fn clone(&self) -> HtmlSectionRole
fn clone(&self) -> HtmlSectionRole
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HtmlSectionRole
impl Debug for HtmlSectionRole
Source§impl PartialEq for HtmlSectionRole
impl PartialEq for HtmlSectionRole
Source§fn eq(&self, other: &HtmlSectionRole) -> bool
fn eq(&self, other: &HtmlSectionRole) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for HtmlSectionRole
impl Eq for HtmlSectionRole
impl StructuralPartialEq for HtmlSectionRole
Auto Trait Implementations§
impl Freeze for HtmlSectionRole
impl RefUnwindSafe for HtmlSectionRole
impl Send for HtmlSectionRole
impl Sync for HtmlSectionRole
impl Unpin for HtmlSectionRole
impl UnsafeUnpin for HtmlSectionRole
impl UnwindSafe for HtmlSectionRole
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