Enum ComponentRole
pub enum ComponentRole {
Container,
Content,
Control,
Input,
Navigation,
Feedback,
Display,
}Expand description
Semantic component roles.
Variants§
Implementations§
§impl ComponentRole
impl ComponentRole
pub fn is_interactive_role(self) -> bool
Trait Implementations§
§impl Clone for ComponentRole
impl Clone for ComponentRole
§fn clone(&self) -> ComponentRole
fn clone(&self) -> ComponentRole
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for ComponentRole
impl Debug for ComponentRole
§impl Hash for ComponentRole
impl Hash for ComponentRole
§impl Ord for ComponentRole
impl Ord for ComponentRole
§impl PartialEq for ComponentRole
impl PartialEq for ComponentRole
§impl PartialOrd for ComponentRole
impl PartialOrd for ComponentRole
impl Copy for ComponentRole
impl Eq for ComponentRole
impl StructuralPartialEq for ComponentRole
Auto Trait Implementations§
impl Freeze for ComponentRole
impl RefUnwindSafe for ComponentRole
impl Send for ComponentRole
impl Sync for ComponentRole
impl Unpin for ComponentRole
impl UnsafeUnpin for ComponentRole
impl UnwindSafe for ComponentRole
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