Enum concision_core::prelude::ParamKind
source · #[non_exhaustive]#[repr(usize)]pub enum ParamKind {
Bias,
Weight,
Other(String),
}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.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for ParamKind
impl<'de> Deserialize<'de> for ParamKind
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 IntoEnumIterator for ParamKind
impl IntoEnumIterator for ParamKind
type Iterator = ParamKindIter
fn iter() -> ParamKindIter ⓘ
source§impl Ord for ParamKind
impl Ord for ParamKind
source§impl PartialEq for ParamKind
impl PartialEq for ParamKind
source§impl PartialOrd for ParamKind
impl PartialOrd for ParamKind
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 VariantNames for ParamKind
impl VariantNames for ParamKind
impl Eq for ParamKind
impl StructuralPartialEq for ParamKind
Auto Trait Implementations§
impl Freeze for ParamKind
impl RefUnwindSafe for ParamKind
impl Send for ParamKind
impl Sync for ParamKind
impl Unpin for ParamKind
impl UnwindSafe for ParamKind
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