Enum rgbstd::interface::AppDeriveIndex
source · #[repr(u8)]pub enum AppDeriveIndex {
Any,
HighFrequency,
Frequent,
Regular,
Episodic,
Seldom,
}Variants§
Trait Implementations§
source§impl Clone for AppDeriveIndex
impl Clone for AppDeriveIndex
source§fn clone(&self) -> AppDeriveIndex
fn clone(&self) -> AppDeriveIndex
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 AppDeriveIndex
impl Debug for AppDeriveIndex
source§impl Default for AppDeriveIndex
impl Default for AppDeriveIndex
source§fn default() -> AppDeriveIndex
fn default() -> AppDeriveIndex
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AppDeriveIndex
impl<'de> Deserialize<'de> for AppDeriveIndex
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for AppDeriveIndex
impl Display for AppDeriveIndex
source§impl From<AppDeriveIndex> for u8
impl From<AppDeriveIndex> for u8
source§fn from(value: AppDeriveIndex) -> u8
fn from(value: AppDeriveIndex) -> u8
Converts to this type from the input type.
source§impl Hash for AppDeriveIndex
impl Hash for AppDeriveIndex
source§impl Ord for AppDeriveIndex
impl Ord for AppDeriveIndex
source§fn cmp(&self, other: &AppDeriveIndex) -> Ordering
fn cmp(&self, other: &AppDeriveIndex) -> 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<AppDeriveIndex> for AppDeriveIndex
impl PartialEq<AppDeriveIndex> for AppDeriveIndex
source§fn eq(&self, other: &AppDeriveIndex) -> bool
fn eq(&self, other: &AppDeriveIndex) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<AppDeriveIndex> for AppDeriveIndex
impl PartialOrd<AppDeriveIndex> for AppDeriveIndex
source§fn partial_cmp(&self, other: &AppDeriveIndex) -> Option<Ordering>
fn partial_cmp(&self, other: &AppDeriveIndex) -> 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 Serialize for AppDeriveIndex
impl Serialize for AppDeriveIndex
source§impl StrictDecode for AppDeriveIndex
impl StrictDecode for AppDeriveIndex
fn strict_decode(reader: &mut impl TypedRead) -> Result<Self, DecodeError>
source§impl StrictEncode for AppDeriveIndex
impl StrictEncode for AppDeriveIndex
fn strict_encode<W: TypedWrite>(&self, writer: W) -> Result<W>
source§impl StrictEnum for AppDeriveIndex
impl StrictEnum for AppDeriveIndex
fn from_variant_name(name: &FieldName) -> Result<Self, VariantError<&FieldName>>
fn strict_type_info() -> TypeInfo<Self>
source§impl StrictSum for AppDeriveIndex
impl StrictSum for AppDeriveIndex
const ALL_VARIANTS: &'static [(u8, &'static str)] = _
fn variant_name(&self) -> &'static str
fn strict_check_variants()
fn variant_name_by_tag(tag: u8) -> Option<FieldName>
fn variant_ord(&self) -> u8
source§impl StrictType for AppDeriveIndex
impl StrictType for AppDeriveIndex
const STRICT_LIB_NAME: &'static str = LIB_NAME_RGB_STD
fn strict_name() -> Option<TypeName>
source§impl TryFrom<u8> for AppDeriveIndex
impl TryFrom<u8> for AppDeriveIndex
impl Copy for AppDeriveIndex
impl Eq for AppDeriveIndex
impl StructuralEq for AppDeriveIndex
impl StructuralPartialEq for AppDeriveIndex
Auto Trait Implementations§
impl RefUnwindSafe for AppDeriveIndex
impl Send for AppDeriveIndex
impl Sync for AppDeriveIndex
impl Unpin for AppDeriveIndex
impl UnwindSafe for AppDeriveIndex
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.