pub enum SectionRole {
Main,
Navigation,
Aside,
Footer,
Comments,
Related,
Unknown,
}Expand description
Semantic page 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.
Implementations§
Trait Implementations§
Source§impl Clone for SectionRole
impl Clone for SectionRole
Source§fn clone(&self) -> SectionRole
fn clone(&self) -> SectionRole
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 SectionRole
impl Debug for SectionRole
Source§impl Display for SectionRole
impl Display for SectionRole
Source§impl PartialEq for SectionRole
impl PartialEq for SectionRole
Source§fn eq(&self, other: &SectionRole) -> bool
fn eq(&self, other: &SectionRole) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SectionRole
impl Eq for SectionRole
impl StructuralPartialEq for SectionRole
Auto Trait Implementations§
impl Freeze for SectionRole
impl RefUnwindSafe for SectionRole
impl Send for SectionRole
impl Sync for SectionRole
impl Unpin for SectionRole
impl UnsafeUnpin for SectionRole
impl UnwindSafe for SectionRole
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