Enum appindicator3::IndicatorCategory
source · #[non_exhaustive]
pub enum IndicatorCategory {
ApplicationStatus,
Communications,
SystemServices,
Hardware,
Other,
// some variants omitted
}
Expand description
The category provides grouping for the indicators so that users can find indicators that are similar together.
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.
ApplicationStatus
The indicator is used to display the status of the application.
Communications
The application is used for communication with other people.
SystemServices
A system indicator relating to something in the user’s system.
Hardware
An indicator relating to the user’s hardware.
Other
Something not defined in this enum, please don’t use unless you really need it.
Trait Implementations§
source§impl Clone for IndicatorCategory
impl Clone for IndicatorCategory
source§fn clone(&self) -> IndicatorCategory
fn clone(&self) -> IndicatorCategory
Returns a copy 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 moresource§impl Debug for IndicatorCategory
impl Debug for IndicatorCategory
source§impl Display for IndicatorCategory
impl Display for IndicatorCategory
source§impl<'a> FromValue<'a> for IndicatorCategory
impl<'a> FromValue<'a> for IndicatorCategory
§type Checker = GenericValueTypeChecker<IndicatorCategory>
type Checker = GenericValueTypeChecker<IndicatorCategory>
Value type checker.
source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a
Value
. Read moresource§impl Hash for IndicatorCategory
impl Hash for IndicatorCategory
source§impl Ord for IndicatorCategory
impl Ord for IndicatorCategory
source§fn cmp(&self, other: &IndicatorCategory) -> Ordering
fn cmp(&self, other: &IndicatorCategory) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<IndicatorCategory> for IndicatorCategory
impl PartialEq<IndicatorCategory> for IndicatorCategory
source§fn eq(&self, other: &IndicatorCategory) -> bool
fn eq(&self, other: &IndicatorCategory) -> bool
source§impl PartialOrd<IndicatorCategory> for IndicatorCategory
impl PartialOrd<IndicatorCategory> for IndicatorCategory
source§fn partial_cmp(&self, other: &IndicatorCategory) -> Option<Ordering>
fn partial_cmp(&self, other: &IndicatorCategory) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl StaticType for IndicatorCategory
impl StaticType for IndicatorCategory
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.source§impl ToValue for IndicatorCategory
impl ToValue for IndicatorCategory
source§impl ValueType for IndicatorCategory
impl ValueType for IndicatorCategory
§type Type = IndicatorCategory
type Type = IndicatorCategory
Type to get the
Type
from. Read moreimpl Copy for IndicatorCategory
impl Eq for IndicatorCategory
impl StructuralEq for IndicatorCategory
impl StructuralPartialEq for IndicatorCategory
Auto Trait Implementations§
impl RefUnwindSafe for IndicatorCategory
impl Send for IndicatorCategory
impl Sync for IndicatorCategory
impl Unpin for IndicatorCategory
impl UnwindSafe for IndicatorCategory
Blanket Implementations§
source§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere
T: StaticType,
source§fn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.
source§impl<T> ToClosureReturnValue for Twhere
T: ToValue,
impl<T> ToClosureReturnValue for Twhere
T: ToValue,
fn to_closure_return_value(&self) -> Option<Value>
source§impl<T> ToSendValue for Twhere
T: Send + ToValue + ?Sized,
impl<T> ToSendValue for Twhere
T: Send + ToValue + ?Sized,
source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.