#[non_exhaustive]pub enum UiRole {
Panel,
Gradient,
Text,
Button,
ModalBlocker,
}Expand description
Semantic kind of an accepted UI submission. Paint-only items have no ID.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Panel
Gradient
Text
Button
ModalBlocker
The latest explicit, nonfocusable viewport-wide modal input blocker.
Trait Implementations§
impl Copy for UiRole
impl Eq for UiRole
impl StructuralPartialEq for UiRole
Auto Trait Implementations§
impl Freeze for UiRole
impl RefUnwindSafe for UiRole
impl Send for UiRole
impl Sync for UiRole
impl Unpin for UiRole
impl UnwindSafe for UiRole
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