#[non_exhaustive]pub enum AppearanceContext {
Any,
List,
Detail,
View(String),
}Expand description
Which views a rule applies in.
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.
Trait Implementations§
Source§impl Clone for AppearanceContext
impl Clone for AppearanceContext
Source§fn clone(&self) -> AppearanceContext
fn clone(&self) -> AppearanceContext
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 AppearanceContext
impl Debug for AppearanceContext
Source§impl Default for AppearanceContext
impl Default for AppearanceContext
Source§fn default() -> AppearanceContext
fn default() -> AppearanceContext
Returns the “default value” for a type. Read more
impl Eq for AppearanceContext
Source§impl PartialEq for AppearanceContext
impl PartialEq for AppearanceContext
impl StructuralPartialEq for AppearanceContext
Auto Trait Implementations§
impl Freeze for AppearanceContext
impl RefUnwindSafe for AppearanceContext
impl Send for AppearanceContext
impl Sync for AppearanceContext
impl Unpin for AppearanceContext
impl UnsafeUnpin for AppearanceContext
impl UnwindSafe for AppearanceContext
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